-
Notifications
You must be signed in to change notification settings - Fork 10
Standard Expression Definitions
AaronGreenhouse edited this page Nov 5, 2020
·
6 revisions
The plugin.xml for org.osate.ui contains expression definitions that are intended to standardize adding
OSATE commands to the UI. The are all named with the prefix org.osate.ui.definition.
-
org.osate.ui.definition.instanceAnalysisCommandVisibility—truewhen the there are 1 or more selected objects and at least one of them is a working set, AADL Project, folder in an AADL Project, an AAXL file, or an instantiatable component implementation.
Meant for use in thevisibleWhenclause of a command. -
org.osate.ui.definition.instanceAnalysisCommandEnabledtruewhen there are 1 or more selected objects and all of them are one of working set, AADL Project, folder in an AADL Project, an AAXL file, or an instantiatable component implementation. Meant for use in theenablecWhenclause of a command. -
org.osate.ui.definition.inAadlPerspective—truewhen the AADL perspective is the active perspective. ForenabledWhenon commands in the toolbar.
-
org.osate.ui.definition.isAADLProject—trueif the currently selected item is a project and the project is either closed or an AADL project. -
org.osate.ui.definition.isAADLFolder—trueif the currently selected item if a folder inside of an AADL project. -
org.osate.ui.definition.isInstanceFile—trueif the currently selected item is an instance model (.aaxl) file. -
org.osate.ui.definition.isPackageFile—trueif the currently selected item is an.aadlfile that contains apackagedefinition. -
org.osate.ui.definition.isPropertySetFile—trueif the currently selected item is an.aadlfile that contains aproperty setdefinition. -
org.osate.ui.definition.isInstantiatableEObjectURIWrapper—trueif the currently selected item is anEObjectURIWrapper(in the navigator view) that wraps aComponentImplementationthat is not aSubprogramImplementationorSubprogramGroupImplementation. That is, the object represents a component implementation that may be instantiated. -
org.osate.ui.definition.isInstantiatableEObjectNode—trueif the currently selected item is anEObjectNode(in the AADL outline view) that wraps aComponentImplementationthat is not aSubprogramImplementationorSubprogramGroupImplementation. That is, the object represents a component implementation that may be instantiated. -
org.osate.ui.definition.isSystemInstance—trueif the currently selected item is aSystemInstance. Meant to test the selection in the instance model editor and instance model editor outline view. -
org.osate.ui.definition.isWorkingSet—trueif the currently selected item in the AADL navigator is an Eclipse working set. -
org.osate.ui.definition.isWorkingSetOrOpenProject—trueif the currently selected item in the AADL navigator is an Eclipse working set or an open project (of any type).