Interface MStringModelFragment
- All Superinterfaces:
MModelFragment
- All Known Implementing Classes:
StringModelFragmentImpl
Developers: Add more detailed documentation by editing this comment in /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. There is a GenModel/documentation node under each type and attribute.
- Since:
- 1.0
The following features are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Featurename' attribute.Returns the value of the 'Parent Element Id' attribute.Returns the value of the 'Position In List' attribute.void
setFeaturename
(String value) Sets the value of the 'Featurename
' attribute.void
setParentElementId
(String value) Sets the value of the 'Parent Element Id
' attribute.void
setPositionInList
(String value) Sets the value of the 'Position In List
' attribute.Methods inherited from interface org.eclipse.e4.ui.model.fragment.MModelFragment
getElements, merge
-
Method Details
-
getFeaturename
String getFeaturename()Returns the value of the 'Featurename' attribute.Developers: Add more detailed documentation by editing this comment in /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. There is a GenModel/documentation node under each type and attribute.
- Returns:
- the value of the 'Featurename' attribute.
- See Also:
-
setFeaturename
Sets the value of the 'Featurename
' attribute.- Parameters:
value
- the new value of the 'Featurename' attribute.- See Also:
-
getParentElementId
String getParentElementId()Returns the value of the 'Parent Element Id' attribute.The parentElementId specifies the targeted parent or parents when a fragment is merged. The ID can be specified in 3 ways:
- elementId (a single elementId)
- elementId1,elementId2,elementId3 (a comma delimited list of elementIds)
- xpath:[xpath goes here] (an xpath expression)
The following is an xpath example targeting 2 destinations in the model:
xpath://*[@elementId='app.menu.primary' or @elementId='app.menu.secondary']
The parentElementId expression must not be null, but may be an empty string if the fragment did not specify a target.
Developers: Add more detailed documentation by editing this comment in /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. There is a GenModel/documentation node under each type and attribute.
- Returns:
- the value of the 'Parent Element Id' attribute.
- See Also:
-
setParentElementId
Sets the value of the 'Parent Element Id
' attribute.- Parameters:
value
- the new value of the 'Parent Element Id' attribute.- See Also:
-
getPositionInList
String getPositionInList()Returns the value of the 'Position In List' attribute.Developers: Add more detailed documentation by editing this comment in /org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore. There is a GenModel/documentation node under each type and attribute.
- Returns:
- the value of the 'Position In List' attribute.
- See Also:
-
setPositionInList
Sets the value of the 'Position In List
' attribute.- Parameters:
value
- the new value of the 'Position In List' attribute.- See Also:
-