|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractNode
A representation of the model object 'AbstractNode'.
The following features are supported:
ValidityPackage.getAbstractNode()
Method Summary | |
---|---|
int |
countVisibleChildren()
Return the number of visible children in this node and its descendants. |
org.eclipse.emf.common.util.EList<? extends AbstractNode> |
getChildren()
|
void |
getGrayedElements(java.util.List<AbstractNode> grayedNodes)
Fill grayedNodes with all grayed nodes in this node and its descendants. |
java.lang.String |
getLabel()
Returns the value of the 'Label' attribute. |
AbstractNode |
getParent()
|
AbstractNode[] |
getVisibleChildren()
Return the fraction of getChildren() that are visible in an array to suit access by a ContentProvider. |
Result |
getWorstResult()
Returns the value of the 'Worst Result' reference. |
boolean |
isEnabled()
Returns the value of the 'Enabled' attribute. |
boolean |
isGrayed()
Returns the value of the 'Grayed' attribute. |
boolean |
isVisible()
Returns the value of the 'Visible' attribute. |
int |
refreshGrayed()
Update the grayed status of this node and all its descendants, returning >0 if this node and its children are consistently enabled, <0 is consistently disbaled and 0 otherwise. |
boolean |
refreshVisibleChildren(java.lang.Iterable<IVisibilityFilter> visibilityFilters)
Update the visible status of this node and all its descendants by comuting the AND of the visibilityFilters at each node. |
void |
setEnabled(boolean value)
Sets the value of the ' Enabled ' attribute. |
void |
setLabel(java.lang.String value)
Sets the value of the ' Label ' attribute. |
void |
setWorstResult(Result value)
Sets the value of the ' Worst Result ' reference. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isEnabled()
"true"
.
If the meaning of the 'Enabled' attribute isn't clear, there really should be more of a description here...
setEnabled(boolean)
,
ValidityPackage.getAbstractNode_Enabled()
void setEnabled(boolean value)
Enabled
' attribute.
value
- the new value of the 'Enabled' attribute.isEnabled()
boolean isGrayed()
"false"
.
If the meaning of the 'Grayed' attribute isn't clear, there really should be more of a description here...
ValidityPackage.getAbstractNode_Grayed()
boolean isVisible()
"true"
.
If the meaning of the 'Visible' attribute isn't clear, there really should be more of a description here...
ValidityPackage.getAbstractNode_Visible()
java.lang.String getLabel()
""
.
If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here...
setLabel(String)
,
ValidityPackage.getAbstractNode_Label()
void setLabel(java.lang.String value)
Label
' attribute.
value
- the new value of the 'Label' attribute.getLabel()
@Nullable Result getWorstResult()
If the meaning of the 'Worst Result' reference isn't clear, there really should be more of a description here...
setWorstResult(Result)
,
ValidityPackage.getAbstractNode_WorstResult()
void setWorstResult(Result value)
Worst Result
' reference.
value
- the new value of the 'Worst Result' reference.getWorstResult()
@Nullable AbstractNode getParent()
@NonNull org.eclipse.emf.common.util.EList<? extends AbstractNode> getChildren()
int countVisibleChildren()
void getGrayedElements(@NonNull java.util.List<AbstractNode> grayedNodes)
@NonNull AbstractNode[] getVisibleChildren()
int refreshGrayed()
boolean refreshVisibleChildren(@NonNull java.lang.Iterable<IVisibilityFilter> visibilityFilters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |