|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.gui.CharacterTableController
public class CharacterTableController
| Constructor Summary | |
|---|---|
CharacterTableController(ScratchGroup group)
|
|
CharacterTableController(java.lang.String groupName)
|
|
| Method Summary | |
|---|---|
void |
addNewCharacter()
in swixml config conf/character_table_panel.xml the add button New is set up to call this method |
void |
commitCharacters()
in swixml config conf/character_table_panel.xml the save button is set up to call this method calls LoadSaveManager saveToDbOrFile() which if has queryable/db adapter saves to db, otherwise saves to file |
void |
compare()
this method is fired when comparison button is pressed (if configged) set up as action in conf/character_table_panel.xml swixml config bring up comparison window to compare 2 statements - by default only do 1 comparison at a time (may have pref for doing multiple with commit button? for now if 2 statements not selected then put up error message (eventually put drag & drop in comparator) |
void |
deleteSelectedCharacters()
in swixml config conf/character_table_panel.xml the delete button is set up to call this method |
void |
duplicateSelectedCharacters()
in swixml config conf/character_table_panel.xml the duplicate button is set up to call this method |
javax.swing.JPanel |
getCharacterTablePanel()
|
static CharacterTableController |
getDefaultController()
|
EditManager |
getEditManager()
|
java.lang.String |
getGroup()
|
ca.odell.glazedlists.swing.EventSelectionModel<CharacterI> |
getSelectionModel()
|
void |
makeOntology()
set up as action method in character_table_panel.xml swix config make terms button has been hit by user - go off and make terms if we have a TermMaker - otherwise do nothing - error msg, this assumes for moment that there is only 1 term maker - if we need more than need to deal with that |
void |
removeOldButtons()
This method is temporary and should be removed once we move fully to Phenote 2. |
void |
setComponentTitleFromFilename()
This is clearly unfinshed as it doesnt do anything - everything is commented out. |
void |
setFieldPanelForUpdating(FieldPanel panel)
Set a FieldPanel which the table should keep up to date when its selection model is replaced. |
void |
undo()
in swixml config conf/character_table_panel.xml the undo button is set up to call this method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterTableController(java.lang.String groupName)
public CharacterTableController(ScratchGroup group)
| Method Detail |
|---|
public static CharacterTableController getDefaultController()
public javax.swing.JPanel getCharacterTablePanel()
public void addNewCharacter()
public void duplicateSelectedCharacters()
public void deleteSelectedCharacters()
public void undo()
public void commitCharacters()
public void makeOntology()
public void compare()
public ca.odell.glazedlists.swing.EventSelectionModel<CharacterI> getSelectionModel()
public java.lang.String getGroup()
public void removeOldButtons()
public EditManager getEditManager()
public void setComponentTitleFromFilename()
public void setFieldPanelForUpdating(FieldPanel panel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||