public class GridBehavior extends AbstractBehavior
GridBehavior can be registered on an IRootPart to apply
the information from the GridModel to the background grid that is
managed by the InfiniteCanvasViewer.active, adaptableIAdaptable.Bound.Impl<T extends IAdaptable>ACTIVE_PROPERTY| Constructor and Description |
|---|
GridBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doActivate()
Post
AbstractBehavior.activate() hook that may be overwritten to e.g. register
listeners. |
protected void |
doDeactivate()
Pre
AbstractBehavior.deactivate() hook that may be overwritten to e.g. unregister
listeners. |
protected InfiniteCanvas |
getCanvas()
|
activate, activeProperty, adaptableProperty, addAnchoreds, addAnchoreds, addFeedback, addFeedback, addHandles, addHandles, clearFeedback, clearHandles, deactivate, getAdaptable, getFeedback, getFeedback, getFeedbackPartFactory, getFeedbackPartFactory, getFeedbackPerTargetSet, getHandlePartFactory, getHandlePartFactory, getHandles, getHandles, getHandlesPerTargetSet, getHost, hasFeedback, hasFeedback, hasHandles, hasHandles, isActive, removeAnchoreds, removeFeedback, removeFeedback, removeFeedback, removeHandles, removeHandles, removeHandles, setAdaptable, updateHandles, updateHandlesprotected void doActivate()
AbstractBehaviorAbstractBehavior.activate() hook that may be overwritten to e.g. register
listeners.doActivate in class AbstractBehaviorprotected void doDeactivate()
AbstractBehaviorAbstractBehavior.deactivate() hook that may be overwritten to e.g. unregister
listeners.doDeactivate in class AbstractBehaviorprotected InfiniteCanvas getCanvas()
InfiniteCanvas of the host's
InfiniteCanvasViewer.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.