public abstract class PatternComponent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PatternComposite |
parent |
protected java.lang.String |
patternNameFragment |
protected boolean |
selected |
Constructor and Description |
---|
PatternComponent() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCheckedState() |
abstract java.lang.String |
getFullPatternNamePrefix()
Returns the prefix of the fully qualified pattern name for the given component.
|
PatternComposite |
getParent()
Returns the parent element of the component.
|
java.lang.String |
getPatternNameFragment()
Returns the fragment inside the fully qualified pattern name for the given component.
|
protected java.util.Set<PatternComponent> |
propagateSelectionStateDownwards() |
protected java.util.Set<PatternComponent> |
propagateSelectionStateUpwards() |
java.util.Collection<PatternComponent> |
setCheckedState(boolean checked) |
java.lang.String |
toString() |
abstract void |
updateHasChildren()
Updates the checked and the "has children" states of this
PatternComponent in the patterns viewer. |
protected java.lang.String patternNameFragment
protected boolean selected
protected PatternComposite parent
public PatternComposite getParent()
public boolean getCheckedState()
public abstract void updateHasChildren()
PatternComponent
in the patterns viewer.public java.util.Collection<PatternComponent> setCheckedState(boolean checked)
protected java.util.Set<PatternComponent> propagateSelectionStateUpwards()
protected java.util.Set<PatternComponent> propagateSelectionStateDownwards()
public abstract java.lang.String getFullPatternNamePrefix()
public java.lang.String getPatternNameFragment()
public java.lang.String toString()
toString
in class java.lang.Object