mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-21 10:48:08 +01:00
Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.gpl.rpg.atcontentstudio.ui.saves;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.JScrollPane;
|
||||
|
||||
import com.gpl.rpg.atcontentstudio.ATContentStudio;
|
||||
import com.gpl.rpg.atcontentstudio.model.saves.SavedGame;
|
||||
import com.gpl.rpg.atcontentstudio.ui.DefaultIcons;
|
||||
import com.gpl.rpg.atcontentstudio.ui.Editor;
|
||||
|
||||
public class SavedGameEditor extends Editor {
|
||||
|
||||
private static final long serialVersionUID = 6055910379650778737L;
|
||||
|
||||
public SavedGameEditor(SavedGame save) {
|
||||
this.name = save.loadedSave.displayInfo;
|
||||
this.icon = new ImageIcon(DefaultIcons.getHeroIcon());
|
||||
this.target = save;
|
||||
setLayout(new BorderLayout());
|
||||
add(new JScrollPane(new com.gpl.rpg.andorstrainer.ui.SavedGameEditor(save.loadedSave, ATContentStudio.frame)), BorderLayout.CENTER);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void targetUpdated() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user