|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.action.ContributionManager org.eclipse.jface.action.MenuManager sk.uniba.euromath.editor.xmlEditor.actions.EMMenuManager
public class EMMenuManager
Field Summary | |
---|---|
protected boolean |
enabledLikeChild
If true, then is enabled only if have enabled visible not separator child. |
protected Node |
node
Node associated with manager(menu/submenu). |
protected boolean |
visible
Manages visibility by user. |
protected boolean |
visibleLikeChild
If true, then is visible only if have visible child. |
Constructor Summary | |
---|---|
EMMenuManager()
Contructor. |
|
EMMenuManager(String text)
Contructor. |
|
EMMenuManager(String text,
String id)
Contructor. |
Method Summary | |
---|---|
Node |
getNode()
|
boolean |
isEnabled()
|
boolean |
isVisible()
|
void |
setEnabledLikeChild(boolean enabledLikeChild)
|
void |
setNode(Node node)
|
void |
setVisible(boolean visible)
|
void |
setVisibleLikeChild(boolean visibleLikeChild)
|
Methods inherited from class org.eclipse.jface.action.MenuManager |
---|
addMenuListener, createContextMenu, createMenuBar, createMenuBar, dispose, fill, fill, fill, fill, findMenuUsingPath, findUsingPath, getId, getMenu, getMenuText, getOverrides, getParent, getRemoveAllWhenShown, isDynamic, isGroupMarker, isSeparator, isSubstituteFor, markDirty, removeMenuListener, saveWidgetState, setOverrides, setParent, setRemoveAllWhenShown, update, update, update, update, updateAll |
Methods inherited from class org.eclipse.jface.action.ContributionManager |
---|
add, add, allowItem, appendToGroup, appendToGroup, dumpStatistics, find, getItems, hasDynamicItems, indexOf, indexOf, insert, insertAfter, insertAfter, insertBefore, insertBefore, internalSetItems, isDirty, isEmpty, itemAdded, itemRemoved, prependToGroup, prependToGroup, remove, remove, removeAll, replaceItem, setDirty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IContributionManager |
---|
add, add, appendToGroup, appendToGroup, find, getItems, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, prependToGroup, prependToGroup, remove, remove, removeAll |
Methods inherited from interface org.eclipse.jface.action.IContributionItem |
---|
isDirty |
Field Detail |
---|
protected boolean visible
protected boolean visibleLikeChild
protected boolean enabledLikeChild
protected Node node
Constructor Detail |
---|
public EMMenuManager()
public EMMenuManager(String text)
text
- public EMMenuManager(String text, String id)
text
- id
- Method Detail |
---|
public boolean isVisible()
isVisible
in interface IContributionItem
isVisible
in class MenuManager
public void setVisible(boolean visible)
setVisible
in interface IContributionItem
setVisible
in class MenuManager
public boolean isEnabled()
isEnabled
in interface IContributionItem
isEnabled
in interface IMenuManager
isEnabled
in class MenuManager
public void setNode(Node node)
node
- public Node getNode()
public void setVisibleLikeChild(boolean visibleLikeChild)
visibleLikeChild
- public void setEnabledLikeChild(boolean enabledLikeChild)
enabledLikeChild
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |