public abstract class AbstractOffsetPathProcessor extends DefaultStatefulProcessor<OffsetPath>
StatefulProcessor for processing OffsetPath objects.
Fires events from the category ContributedOffsetPathChange when its set is changed.| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractOffsetPathProcessor.ContributedOffsetPathChangeListener |
DefaultStatefulProcessor.Dispatcher<R extends ContributedObjectChange>Processor.SpiDataStatefulProcessor.HandleProcessor.Visitor<T>Stateful.Statestate| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOffsetPathProcessor(StatefulProcessor<OffsetPath>[] delegates,
ToolkitContext tkContext,
Cookie cookie) |
protected |
AbstractOffsetPathProcessor(StatefulProcessor<OffsetPath> delegate,
ToolkitContext tkContext,
Cookie cookie) |
protected |
AbstractOffsetPathProcessor(ToolkitContext tkContext,
Cookie cookie) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObjectChangeListeners()
Override this method to attach object listeners to contributor sources.
|
protected void |
addStateChangeListeners()
Override this method to attach state listeners to contributor source.
|
protected StatefulProcessor<OffsetPath> |
delegate() |
protected StatefulProcessor<OffsetPath>[] |
delegates() |
protected void |
dispatchObjectAddedEvent(EventHub hub,
OffsetPath object,
StatefulProcessor processor,
Context context) |
protected void |
dispatchObjectModifiedEvent(EventHub hub,
OffsetPath object,
StatefulProcessor processor,
Context context) |
protected void |
dispatchObjectRemovedEvent(EventHub hub,
OffsetPath object,
StatefulProcessor processor,
Context context) |
void |
initializeState()
Transition from 'Uninitialized' to 'Initialized'.
|
void |
invalidateState()
Transition from 'Valid' to 'Initialized' state.
|
protected static boolean |
nestedPathIsIncluded(OffsetPath offsetPath,
SelectionRules filters) |
protected Listener<ContributedOffsetPathChange> |
newContributedOffsetPathChangeListener() |
protected java.lang.Class<? extends ContributedObjectChange> |
objectChangeEventCategory()
Override this method to specify a sub-class of
ContributedObjectChange that will be used to
deliver events to listeners of this processor. |
protected static boolean |
pathIsExcluded(OffsetPath offsetPath,
SelectionRules filters) |
protected static boolean |
pathIsIncluded(OffsetPath offsetPath,
SelectionRules filters) |
protected static boolean |
pathIsNotExcluded(OffsetPath offsetPath,
SelectionRules filters) |
protected static boolean |
pathIsNotIncluded(OffsetPath offsetPath,
SelectionRules filters) |
protected abstract void |
processImpl(Processor.Visitor<OffsetPath> visitor,
Cookie cookie) |
void |
releaseState()
Release state and any resources its holding.
|
protected void |
removeObjectChangeListeners()
Overirde this method to detach object listeners from contributor sources.
|
protected void |
removeStateChangeListeners()
Override this method to remove state listeners from contributor source.
|
protected void |
setDelegates(StatefulProcessor<OffsetPath>[] delegates) |
addObjectChangeListener, addStateChangeListener, createPrivateHub, fireObjectAdded, fireObjectModified, fireObjectRemoved, fireStateChanged, fireStateInvalidated, fireStateReleased, privateHub, process, stateLockObjectgetContext, getCookie, getToolkitContextprotected AbstractOffsetPathProcessor(ToolkitContext tkContext, Cookie cookie)
protected AbstractOffsetPathProcessor(StatefulProcessor<OffsetPath> delegate, ToolkitContext tkContext, Cookie cookie)
protected AbstractOffsetPathProcessor(StatefulProcessor<OffsetPath>[] delegates, ToolkitContext tkContext, Cookie cookie)
protected void setDelegates(StatefulProcessor<OffsetPath>[] delegates)
protected StatefulProcessor<OffsetPath>[] delegates()
protected StatefulProcessor<OffsetPath> delegate()
protected java.lang.Class<? extends ContributedObjectChange> objectChangeEventCategory()
DefaultStatefulProcessorContributedObjectChange that will be used to
deliver events to listeners of this processor.objectChangeEventCategory in class DefaultStatefulProcessor<OffsetPath>protected void addObjectChangeListeners()
DefaultStatefulProcessoraddObjectChangeListeners in class DefaultStatefulProcessor<OffsetPath>protected void removeObjectChangeListeners()
DefaultStatefulProcessorremoveObjectChangeListeners in class DefaultStatefulProcessor<OffsetPath>protected void addStateChangeListeners()
DefaultStatefulProcessoraddStateChangeListeners in class DefaultStatefulProcessor<OffsetPath>protected void removeStateChangeListeners()
DefaultStatefulProcessorremoveStateChangeListeners in class DefaultStatefulProcessor<OffsetPath>public void initializeState()
StatefulinitializeState in interface StatefulinitializeState in class DefaultStatefulProcessor<OffsetPath>public void releaseState()
StatefulreleaseState in interface StatefulreleaseState in class DefaultStatefulProcessor<OffsetPath>public void invalidateState()
StatefulinvalidateState in interface StatefulinvalidateState in class DefaultStatefulProcessor<OffsetPath>protected Listener<ContributedOffsetPathChange> newContributedOffsetPathChangeListener()
protected static boolean pathIsExcluded(OffsetPath offsetPath, SelectionRules filters)
protected static boolean pathIsNotExcluded(OffsetPath offsetPath, SelectionRules filters)
protected static boolean pathIsIncluded(OffsetPath offsetPath, SelectionRules filters)
protected static boolean pathIsNotIncluded(OffsetPath offsetPath, SelectionRules filters)
protected static boolean nestedPathIsIncluded(OffsetPath offsetPath, SelectionRules filters)
protected void dispatchObjectAddedEvent(EventHub hub, OffsetPath object, StatefulProcessor processor, Context context)
dispatchObjectAddedEvent in class DefaultStatefulProcessor<OffsetPath>protected void dispatchObjectModifiedEvent(EventHub hub, OffsetPath object, StatefulProcessor processor, Context context)
dispatchObjectModifiedEvent in class DefaultStatefulProcessor<OffsetPath>protected void dispatchObjectRemovedEvent(EventHub hub, OffsetPath object, StatefulProcessor processor, Context context)
dispatchObjectRemovedEvent in class DefaultStatefulProcessor<OffsetPath>protected abstract void processImpl(Processor.Visitor<OffsetPath> visitor, Cookie cookie) throws ContribException
processImpl in class DefaultStatefulProcessor<OffsetPath>ContribException