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_PROPERTY
ACTIVE_PROPERTY
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> |
getContentPartMap()
Returns the
Map for registering IContentPart s 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 IVisualPart s 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, unsetAdapter
activate, deactivate, isActive
addPropertyChangeListener, removePropertyChangeListener
dispose
java.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> getContentPartMap()
Map
for registering IContentPart
s 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
IContentPart
s, IHandlePart
s, and IFeedbackPart
s.IRootPart
of this viewer.java.util.Map<VR,IVisualPart<VR,? extends VR>> getVisualPartMap()
Map
for registering IVisualPart
s 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.