|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing all tools used in Torero. They are used together with the ToreroToolBox.
ToreroToolBox
Method Summary | |
void |
activate()
Activates (resets) this tool. |
void |
deactivate()
Deactivates (resets) this tool. |
String |
getDescription()
Get a textual description of the tool (e.g. ine sentence). |
String |
getShortDescription()
Get a short textual description of the tool (a few words). |
Icon |
getToolIcon()
Get the icon for this tool. |
void |
pluggedIn(ToreroToolBox ttb)
Called when the tool is plugged into the ToreroToolBox. |
void |
pluggedOut()
Called when the tool is removed from the ToreroToolBox. |
void |
processUI(GrammarNode gn,
MouseEvent me,
Attribute att)
Process the mouseevent me at node gn at attribute att. |
Method Detail |
public void processUI(GrammarNode gn, MouseEvent me, Attribute att)
gn
- affected grammarnode.me
- the mouseevent that occured.att
- the affected attribute.public Icon getToolIcon()
public String getShortDescription()
public String getDescription()
public void activate()
public void deactivate()
public void pluggedIn(ToreroToolBox ttb)
public void pluggedOut()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |