VR - The visual root node of the UI toolkit used, e.g.
javafx.scene.Node in case of JavaFX.public interface IViewer<VR> extends IAdaptable, IActivatable, IDisposable
AbstractViewer should be subclassed.IAdaptable.Bound<A extends IAdaptable>ADAPTERS_PROPERTYACTIVE_PROPERTY| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> |
getContentPartMap()
Returns the
Map for registering IContentParts by their
content. |
IDomain<VR> |
getDomain()
|
IRootPart<VR,? extends VR> |
getRootPart()
Returns the
IRootPart of this viewer. |
java.util.Map<VR,IVisualPart<VR,? extends VR>> |
getVisualPartMap()
Returns the
Map for registering IVisualParts by their
visual. |
void |
reveal(IVisualPart<VR,? extends VR> visualPart)
Ensure that the visual of the given
IVisualPart is visible in
this viewer. |
getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, deactivate, isActiveaddPropertyChangeListener, removePropertyChangeListenerdisposejava.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> getContentPartMap()
Map for registering IContentParts by their
content.IRootPart<VR,? extends VR> getRootPart()
IRootPart of this viewer. The IRootPart is a
special IVisualPart that serves as the parent to all contained
IContentParts, IHandleParts, and IFeedbackParts.IRootPart of this viewer.java.util.Map<VR,IVisualPart<VR,? extends VR>> getVisualPartMap()
Map for registering IVisualParts by their
visual. This map is used for hit-testing. Hit testing is performed
by first determining which visual is hit, and then mapping that to an
IVisualPart.void reveal(IVisualPart<VR,? extends VR> visualPart)
IVisualPart is visible in
this viewer.visualPart - The IVisualPart that is to be revealed.Copyright (c) 2014 itemis AG and others. All rights reserved.