|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.ksbase.core.KSBasEMenuContribution
public class KSBasEMenuContribution
A menu contribution, defined by an extension point. Contains a list of commands, sub menus and a data property.
Constructor Summary | |
---|---|
KSBasEMenuContribution(String dat)
Creates a new menu contribution with the given data content (Id or locationURI). |
Method Summary | |
---|---|
void |
addCommand(String transformationId)
Adds a command to this contribution. |
void |
addSubMenu(KSBasEMenuContribution menu)
Adds a sub menu to this contribution. |
LinkedList<String> |
getCommands()
Returns the list of commands. |
String |
getData()
Returns the string property. |
String |
getLabel()
Returns the label. |
LinkedList<KSBasEMenuContribution> |
getMenus()
Returns a list of all sub menus contained in this contribution. |
void |
setLabel(String value)
Sets the label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KSBasEMenuContribution(String dat)
dat
- The data propertyMethod Detail |
---|
public final void addCommand(String transformationId)
transformationId
- The id of the called transformationpublic final void addSubMenu(KSBasEMenuContribution menu)
menu
- the menu to addpublic final LinkedList<KSBasEMenuContribution> getMenus()
public final LinkedList<String> getCommands()
public final String getData()
public final String getLabel()
public final void setLabel(String value)
value
- the new label
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |