| java.lang.Object org.eclipse.ui.internal.navigator.NavigatorPipelineService
Method Summary | |
public PipelinedShapeModification | interceptAdd(PipelinedShapeModification anAddModification) Intercept attempts to add elements directly to the viewer.
For content extensions that reshape the structure of children in a
viewer, their overridden extensions may sometimes use optimized refreshes
to add elements to the tree. | public boolean | interceptRefresh(PipelinedViewerUpdate aRefreshSynchronization) Intercept calls to viewer refresh() methods.
Clients may modify the given update to add or remove the elements to be
refreshed. | public PipelinedShapeModification | interceptRemove(PipelinedShapeModification aRemoveModification) Intercept attempts to remove elements directly from the viewer.
For content extensions that reshape the structure of children in a
viewer, their overridden extensions may sometimes use optimized refreshes
to remove elements to the tree. | public boolean | interceptUpdate(PipelinedViewerUpdate anUpdateSynchronization) Intercept calls to viewer update() methods.
Clients may modify the given update to add or remove the elements to be
updated. |
NavigatorPipelineService | public NavigatorPipelineService(NavigatorContentService aContentService)(Code) | | Create a pipeline assistnat for the given content service.
Parameters: aContentService - The content service that will drive this pipeline assistant. |
interceptAdd | public PipelinedShapeModification interceptAdd(PipelinedShapeModification anAddModification)(Code) | | Intercept attempts to add elements directly to the viewer.
For content extensions that reshape the structure of children in a
viewer, their overridden extensions may sometimes use optimized refreshes
to add elements to the tree. These attempts must be intercepted and
mapped to the correct set of model elements in the overridding extension.
Clients may add, remove, or modify elements in the given set of added
children. Clients should return a set for downstream extensions to
massage further.
Clients should not call any of the add, remove, refresh, or update
methods on the viewer from this method or any code invoked by the
implementation of this method.
Parameters: anAddModification - The shape modification which contains the current suggestedparent and children. Clients may modify this parameterdirectly and return it as the new shape modification. The new shape modification to use. Clients should neverreturn null from this method. |
interceptRefresh | public boolean interceptRefresh(PipelinedViewerUpdate aRefreshSynchronization)(Code) | | Intercept calls to viewer refresh() methods.
Clients may modify the given update to add or remove the elements to be
refreshed. Clients may return the same instance that was passed in for
the next downstream extension.
Clients should not call any of the add, remove, refresh, or update
methods on the viewer from this method or any code invoked by the
implementation of this method.
Parameters: aRefreshSynchronization - The (current) refresh update to execute against the viewer. The (potentially reshaped) refresh to execute against the viewer. |
interceptRemove | public PipelinedShapeModification interceptRemove(PipelinedShapeModification aRemoveModification)(Code) | | Intercept attempts to remove elements directly from the viewer.
For content extensions that reshape the structure of children in a
viewer, their overridden extensions may sometimes use optimized refreshes
to remove elements to the tree. These attempts must be intercepted and
mapped to the correct set of model elements in the overridding extension.
Clients may add, remove, or modify elements in the given set of removed
children. Clients should return a set for downstream extensions to
massage further.
Clients should not call any of the add, remove, refresh, or update
methods on the viewer from this method or any code invoked by the
implementation of this method.
Parameters: aRemoveModification - The shape modification which contains the current suggestedparent and children. Clients may modify this parameterdirectly and return it as the new shape modification. The new shape modification to use. Clients should neverreturn null from this method. |
interceptUpdate | public boolean interceptUpdate(PipelinedViewerUpdate anUpdateSynchronization)(Code) | | Intercept calls to viewer update() methods.
Clients may modify the given update to add or remove the elements to be
updated. Clients may also add or remove properties for the given targets
to optimize the refresh. Clients may return the same instance that was
passed in for the next downstream extension.
Clients should not call any of the add, remove, refresh, or update
methods on the viewer from this method or any code invoked by the
implementation of this method.
Parameters: anUpdateSynchronization - The (current) update to execute against the viewer. The (potentially reshaped) update to execute against the viewer. |
|
|