|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgraphlab.main.core.action.AbstractAction
graphlab.ui.AbstractExtensionAction
public abstract class AbstractExtensionAction
the implementing class will have a menu assigned to it automatically the name of the menu will be from the constructors parametr(sp) and the will also listen to UI.getUIEvent(sp.getName())
| Field Summary |
|---|
| Fields inherited from class graphlab.main.core.action.AbstractAction |
|---|
listeningEvents |
| Constructor Summary | |
|---|---|
AbstractExtensionAction(BlackBoard bb,
Extension sp)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMenuNamePrefix()
|
abstract java.lang.String |
getParentMenuName()
returns the menu name that the menuitem of this action is its child |
abstract void |
performJob(java.lang.String name)
like Action |
void |
removeCreatedUIComponents()
removes all UI Components that are created for the extension (menues, ...) |
void |
setEvent(Event e)
sets the current event of action so automatically addListener in the black board for the event. |
boolean |
testAndSetParameters(java.lang.Object o)
first checks if o instanceof Parametrizable if so, shows an editor for it's Parameters. |
| Methods inherited from class graphlab.main.core.action.AbstractAction |
|---|
disable, doJob, enable, getBlackBoard, isEnable, setBlackBoard |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExtensionAction(BlackBoard bb,
Extension sp)
| Method Detail |
|---|
public java.lang.String getMenuNamePrefix()
public void setEvent(Event e)
AbstractAction
e - the Event for listeningpublic boolean testAndSetParameters(java.lang.Object o)
o -
public void removeCreatedUIComponents()
public abstract java.lang.String getParentMenuName()
public abstract void performJob(java.lang.String name)
AbstractAction
performJob in class AbstractAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||