diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java index 8a1db1735..711940b92 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java @@ -50,12 +50,12 @@ public abstract class ViewerInputProvider implements IViewerInputProvider { job.schedule(); } - /** - * Computes the viewer input for the specified context. - * - * @param update update request - */ - protected void retrieveInput(IViewerInputUpdate update) { + /** + * Computes the viewer input for the specified context. + * + * @param update update request + */ + protected void retrieveInput(IViewerInputUpdate update) { if (!update.isCanceled()) { IStatus status = Status.OK_STATUS; try { @@ -70,38 +70,38 @@ public abstract class ViewerInputProvider implements IViewerInputProvider { } update.setStatus(status); } - } + } - /** - * Returns the viewer input derived from the given source object in the specified - * context, possibly <code>null</code>. - * - * @param source element to derive a viewer input from - * @param context context for which an input is requested - * @param update viewer update request - * @throws CoreException if an exception occurs retrieving child - */ - protected abstract Object getViewerInput(Object source, IPresentationContext context, IViewerUpdate update) throws CoreException; + /** + * Returns the viewer input derived from the given source object in the specified + * context, possibly <code>null</code>. + * + * @param source element to derive a viewer input from + * @param context context for which an input is requested + * @param update viewer update request + * @throws CoreException if an exception occurs retrieving child + */ + protected abstract Object getViewerInput(Object source, IPresentationContext context, IViewerUpdate update) throws CoreException; - /** - * Returns whether this adapter supports the given context. - * - * @param context - * @return whether this adapter supports the given context - */ - protected boolean supportsContext(IPresentationContext context) { + /** + * Returns whether this adapter supports the given context. + * + * @param context + * @return whether this adapter supports the given context + */ + protected boolean supportsContext(IPresentationContext context) { return supportsContextId(context.getId()); - } + } - /** - * Returns whether this adapter provides content in the specified context id. - * - * @param id part id - * @return whether this adapter provides content in the specified context id - */ - protected abstract boolean supportsContextId(String id); + /** + * Returns whether this adapter provides content in the specified context id. + * + * @param id part id + * @return whether this adapter provides content in the specified context id + */ + protected abstract boolean supportsContextId(String id); /** * Returns a scheduling rule to use when performing the given updates or |