public interface ContextMenuEntry extends TransientObject
Modifier and Type | Interface and Description |
---|---|
static class |
ContextMenuEntry.Type
Specifies the type of the menu entry.
|
Modifier and Type | Method and Description |
---|---|
ContextMenuEntry.Type |
entryType()
Returns the type of this menu entry.
|
boolean |
isDefault()
Returns true if this entry is the default action for the menu.
|
boolean |
isHidden()
Returns true if this entry is hidden on the menu.
|
boolean |
isSensitive()
Returns true if the command corresponding to this entry can be run.
|
String |
label()
Returns the label of this menu entry.
|
String |
name()
Returns the name of this menu entry.
|
_value, dispose, printTestData, printTestData
ContextMenuEntry.Type entryType() throws NXException, RemoteException
NXException
RemoteException
String name() throws NXException, RemoteException
MenuButton
object.
For all other entries which do not correspond to a menu bar button, the
name that is returned has no specific meaning. However, for any individual
action within any specific context menu, the name that is assigned to
that action will not change.
NXException
RemoteException
String label() throws NXException, RemoteException
NXException
RemoteException
boolean isHidden() throws NXException, RemoteException
NXException
RemoteException
boolean isSensitive() throws NXException, RemoteException
NXException
RemoteException
boolean isDefault() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.