Package org.eclipse.gef.mvc.fx.parts
Interface ITransformableContentPart<V extends Node>
- Type Parameters:
V
- The visual node used by thisITransformableContentPart
.
- All Superinterfaces:
IActivatable
,IAdaptable
,IAdaptable.Bound<IViewer>
,IContentPart<V>
,IDisposable
,IVisualPart<V>
- All Known Subinterfaces:
IBendableContentPart<V>
An
IContentPart
that supports content related transformations.-
Property Summary
Properties inherited from interface org.eclipse.gef.common.activate.IActivatable
active
Properties inherited from interface org.eclipse.gef.common.adapt.IAdaptable
adapters
Properties inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptable
Properties inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPart
contentAnchoragesUnmodifiable, contentChildrenUnmodifiable, content
Properties inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPart
anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable
IAdaptable.Bound<A extends IAdaptable>
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AdapterKey<Provider<? extends Affine>>
The adapter key for theProvider<Affine>
that will be used to obtain the host'sAffine
transformation.static final String
The role for the adapter key of theProvider<Affine>
that will be used to obtain the part'sAffine
transformation.Fields inherited from interface org.eclipse.gef.common.activate.IActivatable
ACTIVE_PROPERTY
Fields inherited from interface org.eclipse.gef.common.adapt.IAdaptable
ADAPTERS_PROPERTY
Fields inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPart
CONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTY
Fields inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPart
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the currentAffine
according to thisITransformableContentPart
's content.default Affine
Returns the current transform according to thisITransformableContentPart
's visual.void
setContentTransform
(Affine totalTransform) Set the content transformation as specified by the givenAffineTransform
.default void
setVisualTransform
(Affine totalTransform) Methods inherited from interface org.eclipse.gef.common.activate.IActivatable
activate, activeProperty, deactivate, isActive
Methods inherited from interface org.eclipse.gef.common.adapt.IAdaptable
adaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapter
Methods inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptableProperty, getAdaptable, setAdaptable
Methods inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPart
addContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, getContent, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, isFocusable, isSelectable, refreshContentAnchorages, refreshContentChildren, removeContentChild, reorderContentChild, setContent
Methods inherited from interface org.eclipse.gef.common.dispose.IDisposable
dispose
Methods inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPart
addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenUnmodifiableProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getViewer, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
-
Field Details
-
Method Details
-
getContentTransform
Affine getContentTransform()Returns the currentAffine
according to thisITransformableContentPart
's content.- Returns:
- The current
Affine
according to thisITransformableContentPart
's content.
-
getVisualTransform
Returns the current transform according to thisITransformableContentPart
's visual.- Returns:
- The current transform according to this
ITransformableContentPart
's visual.
-
setContentTransform
Set the content transformation as specified by the givenAffineTransform
.- Parameters:
totalTransform
- TheAffineTransform
to set.
-
setVisualTransform
- Parameters:
totalTransform
- TheAffine
that is to be set as thevisual transform
of thisITransformableContentPart
.
-