VR
- The visual root node of the UI toolkit this
AbstractRootPart
is used in, e.g. javafx.scene.Node in
case of JavaFX.V
- The visual node used by this AbstractRootPart
.public abstract class AbstractRootPart<VR,V extends VR> extends AbstractVisualPart<VR,V> implements IRootPart<VR,V>
IAdaptable.Bound<A extends IAdaptable>
pcs
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
AbstractRootPart() |
Modifier and Type | Method and Description |
---|---|
protected void |
attachToAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
protected void |
detachFromAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
protected void |
doActivate() |
protected void |
doDeactivate() |
IViewer<VR> |
getAdaptable() |
java.util.List<IContentPart<VR,? extends VR>> |
getContentPartChildren()
Returns all children of type
IContentPart contained by this
IRootPart . |
java.util.List<IFeedbackPart<VR,? extends VR>> |
getFeedbackPartChildren()
Returns all children of type
IFeedbackPart contained by this
IRootPart . |
java.util.List<IHandlePart<VR,? extends VR>> |
getHandlePartChildren()
Returns all children of type
IHandlePart contained by this
IRootPart . |
IRootPart<VR,? extends VR> |
getRoot()
Returns the
IRootPart . |
IViewer<VR> |
getViewer()
|
void |
setAdaptable(IViewer<VR> viewer) |
activate, addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, addChildVisual, addPropertyChangeListener, createVisual, deactivate, dispose, doRefreshVisual, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getVisual, isActive, isRefreshVisual, refreshVisual, register, registerAtVisualPartMap, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, removeChildVisual, removePropertyChangeListener, reorderChild, setAdapter, setAdapter, setAdapter, setAdapters, setParent, setRefreshVisual, unregister, unregisterFromVisualPartMap, unsetAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getVisual, isRefreshVisual, refreshVisual, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, unsetAdapter
activate, deactivate, isActive
addPropertyChangeListener, removePropertyChangeListener
dispose
protected void attachToAnchorageVisual(IVisualPart<VR,? extends VR> anchorage, java.lang.String role)
attachToAnchorageVisual
in class AbstractVisualPart<VR,V extends VR>
protected void detachFromAnchorageVisual(IVisualPart<VR,? extends VR> anchorage, java.lang.String role)
detachFromAnchorageVisual
in class AbstractVisualPart<VR,V extends VR>
protected void doActivate()
doActivate
in class AbstractVisualPart<VR,V extends VR>
protected void doDeactivate()
doDeactivate
in class AbstractVisualPart<VR,V extends VR>
public IViewer<VR> getAdaptable()
getAdaptable
in interface IAdaptable.Bound<IViewer<VR>>
public java.util.List<IContentPart<VR,? extends VR>> getContentPartChildren()
IRootPart
IContentPart
contained by this
IRootPart
.getContentPartChildren
in interface IRootPart<VR,V extends VR>
IContentPart
children.public java.util.List<IFeedbackPart<VR,? extends VR>> getFeedbackPartChildren()
IRootPart
IFeedbackPart
contained by this
IRootPart
.getFeedbackPartChildren
in interface IRootPart<VR,V extends VR>
IFeedbackPart
children.public java.util.List<IHandlePart<VR,? extends VR>> getHandlePartChildren()
IRootPart
IHandlePart
contained by this
IRootPart
.getHandlePartChildren
in interface IRootPart<VR,V extends VR>
IHandlePart
children.public IRootPart<VR,? extends VR> getRoot()
IVisualPart
IRootPart
. This method should only be called
internally or by helpers such as edit policies. The root can be used to
get the viewer.public void setAdaptable(IViewer<VR> viewer)
setAdaptable
in interface IAdaptable.Bound<IViewer<VR>>
Copyright (c) 2014 itemis AG and others. All rights reserved.