diff options
author | Karsten Thoms | 2018-05-15 09:35:38 +0000 |
---|---|---|
committer | Lars Vogel | 2018-06-12 10:04:07 +0000 |
commit | ec354463f89b22d856915a4a1c63eed3a7cb4464 (patch) | |
tree | eee3b90d9d0aa7d2458fbe7d87a21515743304f0 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers | |
parent | f488e25eeaee6a4b38800a4270b5196b7980d7a7 (diff) | |
download | eclipse.platform.debug-ec354463f89b22d856915a4a1c63eed3a7cb4464.tar.gz eclipse.platform.debug-ec354463f89b22d856915a4a1c63eed3a7cb4464.tar.xz eclipse.platform.debug-ec354463f89b22d856915a4a1c63eed3a7cb4464.zip |
Bug 534681 - Remove redundant modifiers in org.eclipse.debug.ui
Change-Id: I1d0b999ad8ead1bad88e9f23aa32fd34418c63aa
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers')
48 files changed, 219 insertions, 221 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ILabelResult.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ILabelResult.java index 6d0db0337..ef4e69e16 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ILabelResult.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ILabelResult.java @@ -26,33 +26,33 @@ public interface ILabelResult { * * @return */ - public String[] getLabels(); + String[] getLabels(); /** * Returns the images for the element. * * @return */ - public Image[] getImages(); + Image[] getImages(); /** * Returns the element the label is for. * * @return */ - public Object getElement(); + Object getElement(); /** * Returns the path to the element in the tree. * * @return */ - public TreePath getTreePath(); + TreePath getTreePath(); /** * Returns this element's depth in the tree. * * @return */ - public int getDepth(); + int getDepth(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/IBreadcrumbDropDownSite.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/IBreadcrumbDropDownSite.java index eb1004a7b..bd692a269 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/IBreadcrumbDropDownSite.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/IBreadcrumbDropDownSite.java @@ -25,16 +25,16 @@ public interface IBreadcrumbDropDownSite { * viewer. * @param selection Selection to set to breadcrumb. */ - public void notifySelection(ISelection selection); + void notifySelection(ISelection selection); /** * Notifies the breadcrumb that the drop-down viewer should be closed. */ - public void close(); + void close(); /** * Notifies the breadcrumb that the drop-down viewer's contents have * changed and viewer shell should be adjusted for the new size. */ - public void updateSize(); + void updateSize(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/IInternalTreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/IInternalTreeModelViewer.java index 0b66433e4..b19363ee6 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/IInternalTreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/IInternalTreeModelViewer.java @@ -35,15 +35,14 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @return an array of viewer filters * @see org.eclipse.jface.viewers.StructuredViewer#setFilters(ViewerFilter[]) */ - @Override - public ViewerFilter[] getFilters(); + @Override ViewerFilter[] getFilters(); /** * Reveals the given element in the viewer. * @param path Path to the element's parent. * @param index Index of the element to be revealed. */ - public void reveal(TreePath path, int index); + void reveal(TreePath path, int index); /** * Triggers an update of the given element's state. If multiple instances @@ -51,7 +50,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * * @param element Element to update. */ - public void update(Object element); + void update(Object element); /** * Sets the given object to be the element at the given index of the given parent. @@ -64,7 +63,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param element Element object. * @noreference This method is not intended to be referenced by clients. */ - public void replace(Object parentOrTreePath, final int index, Object element); + void replace(Object parentOrTreePath, final int index, Object element); /** * Set the number of children of the given element or tree path. To set the @@ -78,7 +77,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param count new value * @noreference This method is not intended to be referenced by clients. */ - public void setChildCount(final Object elementOrTreePath, final int count); + void setChildCount(final Object elementOrTreePath, final int count); /** * Inform the viewer about whether the given element or tree path has @@ -92,7 +91,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param hasChildren new value. * @noreference This method is not intended to be referenced by clients. */ - public void setHasChildren(final Object elementOrTreePath, final boolean hasChildren); + void setHasChildren(final Object elementOrTreePath, final boolean hasChildren); /** * Performs auto expand on an element at the specified path if the auto expand @@ -104,7 +103,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param elementPath tree path to element to consider for expansion * @noreference This method is not intended to be referenced by clients. */ - public void autoExpand(TreePath elementPath); + void autoExpand(TreePath elementPath); /** * Sets whether the node corresponding to the given element or tree path is @@ -121,7 +120,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * * @noreference This method is not intended to be referenced by clients. */ - public void setExpandedState(Object elementOrTreePath, boolean expanded); + void setExpandedState(Object elementOrTreePath, boolean expanded); /** * Expands all ancestors of the given element or tree path so that the given @@ -139,7 +138,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * * @noreference This method is not intended to be referenced by clients. */ - public void expandToLevel(Object elementOrTreePath, int level); + void expandToLevel(Object elementOrTreePath, int level); /** * Removes the given element from the viewer. The selection is updated if @@ -150,7 +149,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param elementOrTreePath the element, or the tree path to the element * @noreference This method is not intended to be referenced by clients. */ - public void remove(Object elementOrTreePath); + void remove(Object elementOrTreePath); /** * Removes the element at the specified index of the parent. The selection is updated if required. @@ -162,7 +161,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param index child index * @noreference This method is not intended to be referenced by clients. */ - public void remove(Object parentOrTreePath, final int index); + void remove(Object parentOrTreePath, final int index); /** * Inserts the given element as a new child element of the given parent @@ -179,7 +178,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * the last position * @noreference This method is not intended to be referenced by clients. */ - public void insert(Object parentOrTreePath, Object element, int position); + void insert(Object parentOrTreePath, Object element, int position); /** * Returns whether the candidate selection should override the current @@ -188,7 +187,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param candidate Proposed new selection. * @return whether new selection should override the current */ - public boolean overrideSelection(ISelection current, ISelection candidate); + boolean overrideSelection(ISelection current, ISelection candidate); /** * Returns whether the node corresponding to the given element or tree path @@ -199,7 +198,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @return <code>true</code> if the node is expanded, and * <code>false</code> if collapsed */ - public boolean getExpandedState(Object elementOrTreePath); + boolean getExpandedState(Object elementOrTreePath); /** * Returns whether the node corresponding to the given element or tree path @@ -208,7 +207,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param elementOrTreePath Path to element * @return Returns whether the given element has children. */ - public boolean getHasChildren(Object elementOrTreePath); + boolean getHasChildren(Object elementOrTreePath); /** * Returns the child count of the element at the given path. <br> @@ -218,7 +217,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param path Path to get count for. * @return The child count. */ - public int getChildCount(TreePath path); + int getChildCount(TreePath path); /** * Returns the element which is a child of the element at the @@ -228,7 +227,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param index Index of child element. * @return Child element. */ - public Object getChildElement(TreePath path, int index); + Object getChildElement(TreePath path, int index); /** * Returns the tree path of the element that is at the top of the @@ -237,7 +236,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @return the tree path of the element at the top of the * viewer. */ - public TreePath getTopElementPath(); + TreePath getTopElementPath(); /** * Finds the index of the given element with a parent of given path. @@ -247,7 +246,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * * @return The element's index, or -1 if not found. */ - public int findElementIndex(TreePath parentPath, Object element); + int findElementIndex(TreePath parentPath, Object element); /** * Returns a boolean indicating whether all the child elements of the @@ -256,14 +255,14 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param parentPath Path of parent element. * @return true if all children realized */ - public boolean getElementChildrenRealized(TreePath parentPath); + boolean getElementChildrenRealized(TreePath parentPath); /** * Clears the selection in the viewer, if any, without firing * selection change notification. This is only to be used by * the platform. */ - public void clearSelectionQuiet(); + void clearSelectionQuiet(); /** * Sets the element's display information. @@ -283,7 +282,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * <code>null</code>. * @noreference This method is not intended to be referenced by clients. */ - public void setElementData(TreePath path, int numColumns, String[] labels, ImageDescriptor[] images, FontData[] fontDatas, RGB[] foregrounds, RGB[] backgrounds); + void setElementData(TreePath path, int numColumns, String[] labels, ImageDescriptor[] images, FontData[] fontDatas, RGB[] foregrounds, RGB[] backgrounds); /** * Returns identifiers of the visible columns in this viewer, or <code>null</code> @@ -291,7 +290,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * * @return visible columns or <code>null</code> */ - public String[] getVisibleColumns(); + String[] getVisibleColumns(); /** * Sets the element check state data. @@ -300,7 +299,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param checked if true, item will be checked * @param grayed if true item will be grayed */ - public void setElementChecked(TreePath path, boolean checked, boolean grayed); + void setElementChecked(TreePath path, boolean checked, boolean grayed); /** * Retrieves the element check state. @@ -308,7 +307,7 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param path Path of element to return check state for. * @return the element checked state */ - public boolean getElementChecked(TreePath path); + boolean getElementChecked(TreePath path); /** * Retrieves the element's check box grayed state. @@ -316,5 +315,5 @@ public interface IInternalTreeModelViewer extends ITreeModelViewer { * @param path Path of element to return grayed state for. * @return the element grayed state */ - public boolean getElementGrayed(TreePath path); + boolean getElementGrayed(TreePath path); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ILabelUpdateListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ILabelUpdateListener.java index b296064a0..075bb2433 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ILabelUpdateListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ILabelUpdateListener.java @@ -22,13 +22,13 @@ public interface ILabelUpdateListener { /** * Notification that a sequence of viewer updates are starting. */ - public void labelUpdatesBegin(); + void labelUpdatesBegin(); /** * Notification that viewer updates are complete. Corresponds to * a <code>viewerUpdatesBegin()</code> notification. */ - public void labelUpdatesComplete(); + void labelUpdatesComplete(); /** * Notification that a specific update has started within @@ -36,7 +36,7 @@ public interface ILabelUpdateListener { * * @param update update */ - public void labelUpdateStarted(ILabelUpdate update); + void labelUpdateStarted(ILabelUpdate update); /** * Notification that a specific update has completed within a @@ -44,5 +44,5 @@ public interface ILabelUpdateListener { * * @param update update */ - public void labelUpdateComplete(ILabelUpdate update); + void labelUpdateComplete(ILabelUpdate update); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelContentProvider.java index cf2d9bcf2..88154d75e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelContentProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelContentProvider.java @@ -34,7 +34,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @since 3.6 * @see #setModelDeltaMask(int) */ - public static final int ALL_MODEL_DELTA_FLAGS = ~0; + int ALL_MODEL_DELTA_FLAGS = ~0; /** * Bit-mask which allows only flags which control selection and expansion. @@ -42,7 +42,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @since 3.6 * @see #setModelDeltaMask(int) */ - public static final int CONTROL_MODEL_DELTA_FLAGS = + int CONTROL_MODEL_DELTA_FLAGS = IModelDelta.EXPAND | IModelDelta.COLLAPSE | IModelDelta.SELECT | IModelDelta.REVEAL | IModelDelta.FORCE; /** @@ -52,7 +52,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @since 3.6 * @see #setModelDeltaMask(int) */ - public static final int UPDATE_MODEL_DELTA_FLAGS = + int UPDATE_MODEL_DELTA_FLAGS = IModelDelta.ADDED | IModelDelta.CONTENT | IModelDelta.INSERTED | IModelDelta.INSTALL | IModelDelta.REMOVED | IModelDelta.REPLACED | IModelDelta.STATE | IModelDelta.UNINSTALL; @@ -64,7 +64,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param index index of child element in viewer (filtered) space * @return index of child element in model (raw) space */ - public int viewToModelIndex(TreePath parentPath, int index); + int viewToModelIndex(TreePath parentPath, int index); /** * Translates and returns the given child count from the viewer coordinate @@ -74,7 +74,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param count number of child elements in viewer (filtered) space * @return number of child elements in model (raw) space */ - public int viewToModelCount(TreePath parentPath, int count); + int viewToModelCount(TreePath parentPath, int count); /** * Translates and returns the given child index from the model coordinate @@ -84,7 +84,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param index index of child element in model (raw) space * @return index of child element in viewer (filtered) space or -1 if filtered */ - public int modelToViewIndex(TreePath parentPath, int index); + int modelToViewIndex(TreePath parentPath, int index); /** * Returns whether the children of given element should be filtered. @@ -98,7 +98,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @return whether there are any {@link TreeModelViewerFilter} filters * applicable to given parent */ - public boolean areTreeModelViewerFiltersApplicable(Object parentElement); + boolean areTreeModelViewerFiltersApplicable(Object parentElement); /** * Returns whether the given element is filtered. @@ -109,14 +109,14 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * the child element * @return whether to filter the element */ - public boolean shouldFilter(Object parentElementOrTreePath, Object element); + boolean shouldFilter(Object parentElementOrTreePath, Object element); /** * Notification the given element is being unmapped. * * @param path Path to unmap */ - public void unmapPath(TreePath path); + void unmapPath(TreePath path); /** * Sets the bit mask which will be used to filter the {@link IModelDelta} @@ -127,7 +127,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * * @since 3.6 */ - public void setModelDeltaMask(int mask); + void setModelDeltaMask(int mask); /** * Returns the current model delta mask. @@ -137,7 +137,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @see #setModelDeltaMask(int) * @since 3.6 */ - public int getModelDeltaMask(); + int getModelDeltaMask(); /** * Translates and returns the given child count from the model coordinate @@ -147,19 +147,19 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param count child count element in model (raw) space * @return child count in viewer (filtered) space */ - public int modelToViewChildCount(TreePath parentPath, int count); + int modelToViewChildCount(TreePath parentPath, int count); /** * Registers the specified listener for view update notifications. * @param listener Listener to add */ - public void addViewerUpdateListener(IViewerUpdateListener listener); + void addViewerUpdateListener(IViewerUpdateListener listener); /** * Removes the specified listener from update notifications. * @param listener Listener to remove */ - public void removeViewerUpdateListener(IViewerUpdateListener listener); + void removeViewerUpdateListener(IViewerUpdateListener listener); /** * Registers the given listener for model delta notification. @@ -167,13 +167,13 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * the delta. * @param listener Listener to add */ - public void addModelChangedListener(IModelChangedListener listener); + void addModelChangedListener(IModelChangedListener listener); /** * Removes the given listener from model delta notification. * @param listener Listener to remove */ - public void removeModelChangedListener(IModelChangedListener listener); + void removeModelChangedListener(IModelChangedListener listener); /** * Causes the content provider to save the expansion and selection state @@ -181,21 +181,21 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * re-populated. * @param path Path of the element to save. */ - public void preserveState(TreePath path); + void preserveState(TreePath path); /** * Registers the specified listener for state update notifications. * @param listener Listener to add * @since 3.6 */ - public void addStateUpdateListener(IStateUpdateListener listener); + void addStateUpdateListener(IStateUpdateListener listener); /** * Removes the specified listener from state update notifications. * @param listener Listener to remove * @since 3.6 */ - public void removeStateUpdateListener(IStateUpdateListener listener); + void removeStateUpdateListener(IStateUpdateListener listener); /** * Instructs the content provider to process the given model delta. This @@ -208,7 +208,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * * @since 3.6 */ - public void updateModel(IModelDelta delta, int mask); + void updateModel(IModelDelta delta, int mask); /** * Instructs the content provider to cancel any pending state changes @@ -221,7 +221,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param path Path of the element for which to cancel pending changes. * @param flags Flags indicating the changes to cancel. */ - public void cancelRestore(TreePath path, int flags); + void cancelRestore(TreePath path, int flags); /** * Notifies the content provider that a client called {@link Viewer#setInput(Object)}, @@ -234,7 +234,7 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * * @since 3.8 */ - public void postInputChanged(IInternalTreeModelViewer viewer, Object oldInput, Object newInput); + void postInputChanged(IInternalTreeModelViewer viewer, Object oldInput, Object newInput); /** * Notifies the receiver that the given element has had its @@ -244,5 +244,5 @@ public interface ITreeModelContentProvider extends ILazyTreePathContentProvider * @param checked The new checked state of the element * @return false if the check state should not change */ - public boolean setChecked(TreePath path, boolean checked); + boolean setChecked(TreePath path, boolean checked); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelLabelProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelLabelProvider.java index 190a0a8f7..1ce24bc56 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelLabelProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelLabelProvider.java @@ -34,19 +34,19 @@ public interface ITreeModelLabelProvider extends IBaseLabelProvider { * @return true if element label provider is found and update will * be requested. */ - public boolean update(TreePath elementPath); + boolean update(TreePath elementPath); /** * Registers the specified listener for view label update notifications. * @param listener Listener to add */ - public void addLabelUpdateListener(ILabelUpdateListener listener); + void addLabelUpdateListener(ILabelUpdateListener listener); /** * Removes the specified listener from view label update notifications. * @param listener Listener to remove */ - public void removeLabelUpdateListener(ILabelUpdateListener listener); + void removeLabelUpdateListener(ILabelUpdateListener listener); /** * Returns an image for the given image descriptor or <code>null</code>. Adds the image @@ -55,7 +55,7 @@ public interface ITreeModelLabelProvider extends IBaseLabelProvider { * @param descriptor image descriptor or <code>null</code> * @return image or <code>null</code> */ - public Image getImage(ImageDescriptor descriptor); + Image getImage(ImageDescriptor descriptor); /** * Returns a font for the given font data or <code>null</code>. Adds the font to the font @@ -64,7 +64,7 @@ public interface ITreeModelLabelProvider extends IBaseLabelProvider { * @param fontData font data or <code>null</code> * @return font font or <code>null</code> */ - public Font getFont(FontData fontData); + Font getFont(FontData fontData); /** * Returns a color for the given RGB or <code>null</code>. Adds the color to the color @@ -73,5 +73,5 @@ public interface ITreeModelLabelProvider extends IBaseLabelProvider { * @param rgb RGB or <code>null</code> * @return color or <code>null</code> */ - public Color getColor(RGB rgb); + Color getColor(RGB rgb); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerStateTracker.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerStateTracker.java index f894f9e51..1423e60b3 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerStateTracker.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerStateTracker.java @@ -97,24 +97,24 @@ class ViewerStateTracker { * * @param request to add */ - public void addRequest(ElementMementoRequest request); + void addRequest(ElementMementoRequest request); /** * Notification the request is complete. * * @param request that was completed */ - public void requestComplete(ElementMementoRequest request); + void requestComplete(ElementMementoRequest request); /** * Process the queued requests. Accepts no more new requests. */ - public void processReqeusts(); + void processReqeusts(); /** * Cancels the requests in progress. */ - public void cancel(); + void cancel(); } /** diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckUpdate.java index c2d1f79e8..2e898715b 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckUpdate.java @@ -23,7 +23,7 @@ public interface ICheckUpdate extends ILabelUpdate { * Property of the presentation context which indicates that the viewer * has the check box style. */ - public static final String PROP_CHECK = "org.eclipse.debug.ui.check"; //$NON-NLS-1$ + String PROP_CHECK = "org.eclipse.debug.ui.check"; //$NON-NLS-1$ /** * Sets the check state of the tree node. @@ -31,6 +31,6 @@ public interface ICheckUpdate extends ILabelUpdate { * @param checked Whether element should be checked. * @param grayed Whether element should be grayed out. */ - public void setChecked(boolean checked, boolean grayed); + void setChecked(boolean checked, boolean grayed); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckboxModelProxy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckboxModelProxy.java index 3c3346ff3..1fb84f7ec 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckboxModelProxy.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckboxModelProxy.java @@ -39,6 +39,6 @@ public interface ICheckboxModelProxy { * @param checked The new checked state of the element * @return false if the check state should not change */ - public boolean setChecked(IPresentationContext context, Object viewerInput, TreePath path, boolean checked); + boolean setChecked(IPresentationContext context, Object viewerInput, TreePath path, boolean checked); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenCountUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenCountUpdate.java index 2cc395bd3..f64ef66a7 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenCountUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenCountUpdate.java @@ -25,5 +25,5 @@ public interface IChildrenCountUpdate extends IViewerUpdate { * * @param numChildren number of children */ - public void setChildCount(int numChildren); + void setChildCount(int numChildren); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenUpdate.java index 188dad545..a104b3541 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenUpdate.java @@ -26,14 +26,14 @@ public interface IChildrenUpdate extends IViewerUpdate { * * @return offset at which children have been requested for */ - public int getOffset(); + int getOffset(); /** * Returns the number of children requested. * * @return number of children requested */ - public int getLength(); + int getLength(); /** * Sets the child for this request's parent at the given offset. @@ -41,5 +41,5 @@ public interface IChildrenUpdate extends IViewerUpdate { * @param child child * @param offset child offset */ - public void setChild(Object child, int offset); + void setChild(Object child, int offset); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation.java index b20f6f400..2e25a41c3 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation.java @@ -27,12 +27,12 @@ public interface IColumnPresentation { * * @param context Presentation context. */ - public void init(IPresentationContext context); + void init(IPresentationContext context); /** * Disposes this column presentation */ - public void dispose(); + void dispose(); /** * Returns an array of all columns supported by this adapter as @@ -40,7 +40,7 @@ public interface IColumnPresentation { * * @return column identifiers */ - public String[] getAvailableColumns(); + String[] getAvailableColumns(); /** * Returns an ordered array of columns that should be displayed initially for @@ -48,7 +48,7 @@ public interface IColumnPresentation { * * @return initial columns to display */ - public String[] getInitialColumns(); + String[] getInitialColumns(); /** * Returns the column header for the column with the given identifier. @@ -56,7 +56,7 @@ public interface IColumnPresentation { * @param id a column identifier included in <code>getColumns()</code> * @return column header */ - public String getHeader(String id); + String getHeader(String id); /** * Returns the image for the column with the given identifier, or <code>null</code> @@ -64,7 +64,7 @@ public interface IColumnPresentation { * @param id column id * @return image descriptor or <code>null</code> */ - public ImageDescriptor getImageDescriptor(String id); + ImageDescriptor getImageDescriptor(String id); /** * Returns an identifier for this columns presentation. @@ -75,7 +75,7 @@ public interface IColumnPresentation { * * @return identifier */ - public String getId(); + String getId(); /** * Returns whether this column presentation is optional. When a column presentation @@ -83,6 +83,6 @@ public interface IColumnPresentation { * * @return whether this column presentation is optional */ - public boolean isOptional(); + boolean isOptional(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java index 2f96073ea..59b5f8dd5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java @@ -30,6 +30,6 @@ public interface IColumnPresentation2 extends IColumnPresentation { * and let the caller to decide the width. The caller may make the initial width
* be treeWidgetWidth / visibleColumnIds.length
*/
- public int getInitialColumnWidth(String id, int treeWidgetWidth, String[] visibleColumnIds);
+ int getInitialColumnWidth(String id, int treeWidgetWidth, String[] visibleColumnIds);
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentationFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentationFactory.java index d32a2e371..c5dcc08c9 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentationFactory.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentationFactory.java @@ -26,7 +26,7 @@ public interface IColumnPresentationFactory { * @param element the input element * @return column presentation or <code>null</code> */ - public IColumnPresentation createColumnPresentation(IPresentationContext context, Object element); + IColumnPresentation createColumnPresentation(IPresentationContext context, Object element); /** * Returns the type of column presentation to be used for the given context and object @@ -37,5 +37,5 @@ public interface IColumnPresentationFactory { * @param element input element * @return column presentation id or <code>null</code> */ - public String getColumnPresentationId(IPresentationContext context, Object element); + String getColumnPresentationId(IPresentationContext context, Object element); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementCompareRequest.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementCompareRequest.java index 64a7549b7..0da383cfe 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementCompareRequest.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementCompareRequest.java @@ -24,5 +24,5 @@ public interface IElementCompareRequest extends IElementMementoRequest { * * @param equal whether the memento represents the element */ - public void setEqual(boolean equal); + void setEqual(boolean equal); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementContentProvider.java index 126850d2b..7f8c95fa6 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementContentProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementContentProvider.java @@ -32,7 +32,7 @@ public interface IElementContentProvider { * a store for the result. The update array is guaranteed to have at least * one element, and for all updates to have the same presentation context. */ - public void update(IChildrenCountUpdate[] updates); + void update(IChildrenCountUpdate[] updates); /** * Updates children as requested by the given updates. @@ -41,7 +41,7 @@ public interface IElementContentProvider { * The update array is guaranteed to have at least one element, and for * all updates to have the same presentation context. */ - public void update(IChildrenUpdate[] updates); + void update(IChildrenUpdate[] updates); /** * Updates whether elements have children. @@ -50,6 +50,6 @@ public interface IElementContentProvider { * a store for the result. The update array is guaranteed to have at least * one element, and for all updates to have the same presentation context. */ - public void update(IHasChildrenUpdate[] updates); + void update(IHasChildrenUpdate[] updates); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementEditor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementEditor.java index df2183113..ae3d7d46d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementEditor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementEditor.java @@ -31,7 +31,7 @@ public interface IElementEditor { * @param parent parent control to create the cell editor in * @return cell editor or <code>null</code> */ - public CellEditor getCellEditor(IPresentationContext context, String columnId, Object element, Composite parent); + CellEditor getCellEditor(IPresentationContext context, String columnId, Object element, Composite parent); /** * Returns a cell modifier for the specified element in the given context @@ -41,6 +41,6 @@ public interface IElementEditor { * * @return cell modifier or <code>null</code> */ - public ICellModifier getCellModifier(IPresentationContext context, Object element); + ICellModifier getCellModifier(IPresentationContext context, Object element); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementLabelProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementLabelProvider.java index c99a3f67c..1422b326e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementLabelProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementLabelProvider.java @@ -31,5 +31,5 @@ public interface IElementLabelProvider { * stores label attributes. The update array is guaranteed to have at least one element, and for * all updates to have the same presentation context. */ - public void update(ILabelUpdate[] updates); + void update(ILabelUpdate[] updates); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoProvider.java index 112a0a2a5..201037574 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoProvider.java @@ -34,7 +34,7 @@ public interface IElementMementoProvider { * The requests array is guaranteed to have at least one element, and for * all requests to have the same presentation context. */ - public void encodeElements(IElementMementoRequest[] requests); + void encodeElements(IElementMementoRequest[] requests); /** * Determines whether mementos represent associated elements specified in the requests. @@ -43,6 +43,6 @@ public interface IElementMementoProvider { * The requests array is guaranteed to have at least one element, and for * all requests to have the same presentation context. */ - public void compareElements(IElementCompareRequest[] requests); + void compareElements(IElementCompareRequest[] requests); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoRequest.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoRequest.java index e7e2f4eb1..ed933e2e2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoRequest.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoRequest.java @@ -26,5 +26,5 @@ public interface IElementMementoRequest extends IViewerUpdate { * * @return memento */ - public IMemento getMemento(); + IMemento getMemento(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IHasChildrenUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IHasChildrenUpdate.java index 40716074c..a9323a55f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IHasChildrenUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IHasChildrenUpdate.java @@ -24,5 +24,5 @@ public interface IHasChildrenUpdate extends IViewerUpdate { * * @param hasChildren whether there are children */ - public void setHasChilren(boolean hasChildren); + void setHasChilren(boolean hasChildren); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ILabelUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ILabelUpdate.java index 8dc771bcd..476ca0848 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ILabelUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ILabelUpdate.java @@ -30,7 +30,7 @@ public interface ILabelUpdate extends IViewerUpdate { * * @return column id's or <code>null</code> */ - public String[] getColumnIds(); + String[] getColumnIds(); /** * Sets the text of the label of the specified column. Cannot be <code>null</code>. @@ -38,7 +38,7 @@ public interface ILabelUpdate extends IViewerUpdate { * @param text to set to viewer * @param columnIndex column index (0 when no columns) */ - public void setLabel(String text, int columnIndex); + void setLabel(String text, int columnIndex); /** * Sets the font of the label. @@ -46,7 +46,7 @@ public interface ILabelUpdate extends IViewerUpdate { * @param fontData to set to viewer * @param columnIndex column index (0 when no columns) */ - public void setFontData(FontData fontData, int columnIndex); + void setFontData(FontData fontData, int columnIndex); /** * Sets the image of the label. @@ -54,7 +54,7 @@ public interface ILabelUpdate extends IViewerUpdate { * @param image to set to viewer * @param columnIndex column index (0 when no columns) */ - public void setImageDescriptor(ImageDescriptor image, int columnIndex); + void setImageDescriptor(ImageDescriptor image, int columnIndex); /** * Sets the foreground color of the label. @@ -62,7 +62,7 @@ public interface ILabelUpdate extends IViewerUpdate { * @param foreground to set to viewer * @param columnIndex column index (0 when no columns) */ - public void setForeground(RGB foreground, int columnIndex); + void setForeground(RGB foreground, int columnIndex); /** * Sets the background color of the label. @@ -70,5 +70,5 @@ public interface ILabelUpdate extends IViewerUpdate { * @param background to set to viewer * @param columnIndex column index (0 when no columns) */ - public void setBackground(RGB background, int columnIndex); + void setBackground(RGB background, int columnIndex); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelChangedListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelChangedListener.java index 8bae97f27..f9b0e04e0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelChangedListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelChangedListener.java @@ -26,6 +26,6 @@ public interface IModelChangedListener { * @param delta model delta * @param proxy proxy that created the delta */ - public void modelChanged(IModelDelta delta, IModelProxy proxy); + void modelChanged(IModelDelta delta, IModelProxy proxy); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDelta.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDelta.java index 37f9f4c2a..4e6701cc5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDelta.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDelta.java @@ -39,74 +39,74 @@ public interface IModelDelta { * Indicates an element has not changed, but has children that have * changed in some way. */ - public static int NO_CHANGE = 0; + int NO_CHANGE = 0; /** * Indicates an element has been added to the model, as described by * its path. */ - public static int ADDED = 1; + int ADDED = 1; /** * Indicates an element has been removed from the model, as described by * its path. */ - public static int REMOVED = 1 << 1; + int REMOVED = 1 << 1; /** * Indicates an element has been replaced in the model, as described by * its path. In this case a replacement element is also specified in the * model delta node. */ - public static int REPLACED = 1 << 3; + int REPLACED = 1 << 3; /** * Indicates an element has been inserted into the model, as described * by its path and index. */ - public static int INSERTED = 1 << 4; + int INSERTED = 1 << 4; // how an element changed /** * Indicates an elements content has changed (i.e. its children). */ - public static int CONTENT = 1 << 10; + int CONTENT = 1 << 10; /** * Indicates an elements state has changed (i.e. label) */ - public static int STATE = 1 << 11; + int STATE = 1 << 11; // Suggested actions /** * Suggests that the element should be expanded, as described by its path. */ - public static int EXPAND = 1 << 20; + int EXPAND = 1 << 20; /** * Suggests that the element should be selected, as described by its path. */ - public static int SELECT = 1 << 21; + int SELECT = 1 << 21; /** * Suggests that the element should be revealed, as described by its path. * @since 3.3 */ - public static int REVEAL = 1 << 24; + int REVEAL = 1 << 24; /** * Indicates a model proxy should be installed for the given element * @since 3.3 */ - public static int INSTALL = 1 << 22; + int INSTALL = 1 << 22; /** * Indicates a model proxy should be uninstalled for the given element * @since 3.3 */ - public static int UNINSTALL = 1 << 23; + int UNINSTALL = 1 << 23; /** * Suggests that the element should be collapsed, as described by its path. * @since 3.3 */ - public static int COLLAPSE = 1 << 25; + int COLLAPSE = 1 << 25; /** * Flag indicating that the view layout deltas should override the @@ -116,7 +116,7 @@ public interface IModelDelta { * @see IModelSelectionPolicy = * @since 3.5 */ - public static int FORCE = 1 << 26; + int FORCE = 1 << 26; /** * Returns the parent of this node, or <code>null</code> if this is @@ -124,14 +124,14 @@ public interface IModelDelta { * * @return parent node or <code>null</code> if this is a root node */ - public IModelDelta getParentDelta(); + IModelDelta getParentDelta(); /** * Returns the model element this node describes. * * @return associated model element */ - public Object getElement(); + Object getElement(); /** * Returns flags describing how this element changed. A bit mask of the @@ -139,14 +139,14 @@ public interface IModelDelta { * * @return change flags */ - public int getFlags(); + int getFlags(); /** * Returns nodes describing changed children, possibly an empty collection. * * @return changed children, possibly empty */ - public IModelDelta[] getChildDeltas(); + IModelDelta[] getChildDeltas(); /** * When a node indicates the <code>IModelDelta.REPLACED</code> flag, this method @@ -154,7 +154,7 @@ public interface IModelDelta { * * @return replacement element or <code>null</code> */ - public Object getReplacementElement(); + Object getReplacementElement(); /** * Returns this node's index in its parents child collection or -1 if unknown. @@ -166,7 +166,7 @@ public interface IModelDelta { * </p> * @return insertion index or -1 */ - public int getIndex(); + int getIndex(); /** * Returns the total number of children this element has, or -1 if unknown. Note @@ -178,7 +178,7 @@ public interface IModelDelta { * * @return total number of child elements this element has */ - public int getChildCount(); + int getChildCount(); /** * Accepts the given visitor. @@ -186,6 +186,6 @@ public interface IModelDelta { * @param visitor delta visitor to accept * @since 3.3 */ - public void accept(IModelDeltaVisitor visitor); + void accept(IModelDeltaVisitor visitor); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDeltaVisitor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDeltaVisitor.java index 252ba7148..e24e3b1ae 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDeltaVisitor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDeltaVisitor.java @@ -26,6 +26,6 @@ public interface IModelDeltaVisitor { * @return <code>true</code> if the model delta's children should * be visited; <code>false</code> if they should be skipped. */ - public boolean visit(IModelDelta delta, int depth); + boolean visit(IModelDelta delta, int depth); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy.java index fd2fabc27..0547e0532 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy.java @@ -53,7 +53,7 @@ public interface IModelProxy { * @param context presentation context in which the proxy will be installed * @see IModelProxy2#initialize(ITreeModelViewer) */ - public void init(IPresentationContext context); + void init(IPresentationContext context); /** * Notification this model proxy has been installed in the specified @@ -70,7 +70,7 @@ public interface IModelProxy { * @see IModelProxy2#initialize(ITreeModelViewer) * @since 3.3 */ - public void installed(Viewer viewer); + void installed(Viewer viewer); /** * Disposes this model proxy. @@ -79,21 +79,21 @@ public interface IModelProxy { * be called by clients. * </p> */ - public void dispose(); + void dispose(); /** * Registers the given listener for model delta notification. * * @param listener model delta listener */ - public void addModelChangedListener(IModelChangedListener listener); + void addModelChangedListener(IModelChangedListener listener); /** * Unregisters the given listener from model delta notification. * * @param listener model delta listener */ - public void removeModelChangedListener(IModelChangedListener listener); + void removeModelChangedListener(IModelChangedListener listener); /** * Returns whether this proxy has been disposed. @@ -101,6 +101,6 @@ public interface IModelProxy { * @return whether this proxy has been disposed * @since 3.3 */ - public boolean isDisposed(); + boolean isDisposed(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy2.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy2.java index dc779cb56..d5011ede4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy2.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy2.java @@ -37,6 +37,6 @@ public interface IModelProxy2 extends IModelProxy { * @param viewer Viewer that is installing this model proxy. * */ - public void initialize(ITreeModelViewer viewer); + void initialize(ITreeModelViewer viewer); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory.java index e971580e9..8e8dc1006 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory.java @@ -31,5 +31,5 @@ public interface IModelProxyFactory { * @param context presentation context * @return model proxy or <code>null</code> */ - public IModelProxy createModelProxy(Object element, IPresentationContext context); + IModelProxy createModelProxy(Object element, IPresentationContext context); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory2.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory2.java index 177fcd963..6d83badec 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory2.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory2.java @@ -44,5 +44,5 @@ public interface IModelProxyFactory2 { * @param context presentation context
* @return model proxy or <code>null</code>
*/
- public IModelProxy createTreeModelProxy(Object input, TreePath path, IPresentationContext context);
+ IModelProxy createTreeModelProxy(Object input, TreePath path, IPresentationContext context);
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicy.java index 0174054a0..07458b059 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicy.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicy.java @@ -40,7 +40,7 @@ public interface IModelSelectionPolicy { * @param context Presentation context of the viewer. * @return true if selection is contained in model. */ - public boolean contains(ISelection selection, IPresentationContext context); + boolean contains(ISelection selection, IPresentationContext context); /** * Returns whether the candidate selection overrides the @@ -52,7 +52,7 @@ public interface IModelSelectionPolicy { * @param context Presentation context of viewer. * @return true if candidate selection should be set to viewer */ - public boolean overrides(ISelection existing, ISelection candidate, IPresentationContext context); + boolean overrides(ISelection existing, ISelection candidate, IPresentationContext context); /** * Returns whether the given selection should be maintained in the @@ -62,7 +62,7 @@ public interface IModelSelectionPolicy { * @param context Presentation context of viewer. * @return true if selection is sticky */ - public boolean isSticky(ISelection selection, IPresentationContext context); + boolean isSticky(ISelection selection, IPresentationContext context); /** * Replaces an invalid selection. @@ -82,5 +82,5 @@ public interface IModelSelectionPolicy { * the selection after the update, or <code>null</code> if none * @return new selection or <code>null</code> if none */ - public ISelection replaceInvalidSelection(ISelection invalidSelection, ISelection newSelection); + ISelection replaceInvalidSelection(ISelection invalidSelection, ISelection newSelection); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicyFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicyFactory.java index 34b4e75ba..571781124 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicyFactory.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicyFactory.java @@ -31,5 +31,5 @@ public interface IModelSelectionPolicyFactory { * @param context presentation context * @return model selection policy or <code>null</code> */ - public IModelSelectionPolicy createModelSelectionPolicyAdapter(Object element, IPresentationContext context); + IModelSelectionPolicy createModelSelectionPolicyAdapter(Object element, IPresentationContext context); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IPresentationContext.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IPresentationContext.java index 7e542cf02..0d5e4ca5a 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IPresentationContext.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IPresentationContext.java @@ -29,7 +29,7 @@ public interface IPresentationContext { * Property name used for property change notification when the columns * in a presentation context change. */ - public static final String PROPERTY_COLUMNS = "PROPERTY_COLUMNS"; //$NON-NLS-1$ + String PROPERTY_COLUMNS = "PROPERTY_COLUMNS"; //$NON-NLS-1$ /** * Property indicating whether the presentation context is disposed. @@ -39,7 +39,7 @@ public interface IPresentationContext { * * @since 3.6 */ - public static final String PROPERTY_DISPOSED = "PROPERTY_DISPOSED"; //$NON-NLS-1$ + String PROPERTY_DISPOSED = "PROPERTY_DISPOSED"; //$NON-NLS-1$ /** * Returns identifiers of the visible columns in the order @@ -50,21 +50,21 @@ public interface IPresentationContext { * @return visible column identifiers or <code>null</code> * @see IColumnPresentation */ - public String[] getColumns(); + String[] getColumns(); /** * Registers the given listener for property change notification. * * @param listener property listener */ - public void addPropertyChangeListener(IPropertyChangeListener listener); + void addPropertyChangeListener(IPropertyChangeListener listener); /** * Unregisters the given listener from property change notification. * * @param listener property listener. */ - public void removePropertyChangeListener(IPropertyChangeListener listener); + void removePropertyChangeListener(IPropertyChangeListener listener); /** * Returns the id of this presentation context. Usually this is the id of @@ -74,7 +74,7 @@ public interface IPresentationContext { * @return id * @since 3.3 */ - public String getId(); + String getId(); /** * Sets the specified property and notifies listeners of changes. @@ -82,7 +82,7 @@ public interface IPresentationContext { * @param property property name * @param value property value */ - public void setProperty(String property, Object value); + void setProperty(String property, Object value); /** * Returns the property with the specified name or <code>null</code> @@ -91,13 +91,13 @@ public interface IPresentationContext { * @param property property name * @return property value or <code>null</code> */ - public Object getProperty(String property); + Object getProperty(String property); /** * Disposes this presentation context. Called by the framework * when the associated viewer is disposed. */ - public void dispose(); + void dispose(); /** * Returns all keys of properties currently set in this context, @@ -106,7 +106,7 @@ public interface IPresentationContext { * @return keys of all current properties * @since 3.4 */ - public String[] getProperties(); + String[] getProperties(); /** * Returns the part that this presentation context is associated with. @@ -116,7 +116,7 @@ public interface IPresentationContext { * @return IWorkbenchPart or <code>null</code> * @since 3.6 */ - public IWorkbenchPart getPart(); + IWorkbenchPart getPart(); /** * Returns the window that this presentation context is associated with. @@ -126,6 +126,6 @@ public interface IPresentationContext { * @return IWorkbenchWindow or <code>null</code> * @since 3.6 */ - public IWorkbenchWindow getWindow(); + IWorkbenchWindow getWindow(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStateUpdateListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStateUpdateListener.java index fa328c449..7bd890ebf 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStateUpdateListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStateUpdateListener.java @@ -23,7 +23,7 @@ public interface IStateUpdateListener { * * @param input Input object for the state operation. */ - public void stateSaveUpdatesBegin(Object input); + void stateSaveUpdatesBegin(Object input); /** * Notification that viewer updates are complete. Corresponds to @@ -31,14 +31,14 @@ public interface IStateUpdateListener { * * @param input Input object for the state operation. */ - public void stateSaveUpdatesComplete(Object input); + void stateSaveUpdatesComplete(Object input); /** * Notification that a sequence of viewer updates are starting. * * @param input Input object for the state operation. */ - public void stateRestoreUpdatesBegin(Object input); + void stateRestoreUpdatesBegin(Object input); /** * Notification that viewer updates are complete. Corresponds to @@ -46,7 +46,7 @@ public interface IStateUpdateListener { * * @param input Input object for the state operation. */ - public void stateRestoreUpdatesComplete(Object input); + void stateRestoreUpdatesComplete(Object input); /** * Notification that a specific update has started within @@ -55,7 +55,7 @@ public interface IStateUpdateListener { * @param input Input object for the state operation. * @param update update */ - public void stateUpdateStarted(Object input, IViewerUpdate update); + void stateUpdateStarted(Object input, IViewerUpdate update); /** * Notification that a specific update has completed within a @@ -64,5 +64,5 @@ public interface IStateUpdateListener { * @param input Input object for the state operation. * @param update update */ - public void stateUpdateComplete(Object input, IViewerUpdate update); + void stateUpdateComplete(Object input, IViewerUpdate update); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStatusMonitor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStatusMonitor.java index 4703e1e1a..925b877bc 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStatusMonitor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStatusMonitor.java @@ -46,7 +46,7 @@ public interface IStatusMonitor extends IProgressMonitor { * * @param status request status */ - public void setStatus(IStatus status); + void setStatus(IStatus status); /** * Returns the status of this request, or <code>null</code>. @@ -54,5 +54,5 @@ public interface IStatusMonitor extends IProgressMonitor { * @return request status - <code>null</code> is equivalent * to an OK status */ - public IStatus getStatus(); + IStatus getStatus(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ITreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ITreeModelViewer.java index 39b1db200..c0bac32f2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ITreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ITreeModelViewer.java @@ -35,7 +35,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * @see #setAutoExpandLevel(int) * @see #getAutoExpandLevel() */ - public static final int ALL_LEVELS = -1; + int ALL_LEVELS = -1; /** * Returns the Display object that this viewer is in. The @@ -44,14 +44,14 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @return The display. */ - public Display getDisplay(); + Display getDisplay(); /** * Returns this viewer's presentation context. * * @return presentation context */ - public IPresentationContext getPresentationContext(); + IPresentationContext getPresentationContext(); /** * Returns the current input of this viewer, or <code>null</code> @@ -60,7 +60,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @return Input object */ - public Object getInput(); + Object getInput(); /** * Sets the input of this viewer. Setting the input resets the @@ -69,15 +69,14 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @param object Input element, or <code>null</code> if none. */ - public void setInput(Object object); + void setInput(Object object); /** * Returns the current selection in viewer. * * @return selection object */ - @Override - public ISelection getSelection(); + @Override ISelection getSelection(); /** * Sets a new selection for this viewer and optionally makes it visible. @@ -90,7 +89,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * @param force <code>true</code> if the selection should override the * model selection policy */ - public void setSelection(ISelection selection, boolean reveal, boolean force); + void setSelection(ISelection selection, boolean reveal, boolean force); /** * Attempts to set the selection for this viewer and optionally makes it visible. @@ -104,7 +103,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * @return <code>true</code> if the selection was set and <code>false</code> if the * model selection policy overrides the selection attempt */ - public boolean trySelection(ISelection selection, boolean reveal, boolean force); + boolean trySelection(ISelection selection, boolean reveal, boolean force); /** * Returns the auto-expand level. @@ -113,7 +112,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * the tree are expanded automatically * @see #setAutoExpandLevel */ - public int getAutoExpandLevel(); + int getAutoExpandLevel(); /** * Sets the auto-expand level to be used when the input of the viewer is set @@ -133,7 +132,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * non-negative level, or <code>ALL_LEVELS</code> to expand all * levels of the tree */ - public void setAutoExpandLevel(int level); + void setAutoExpandLevel(int level); /** * Returns the label data for the given element and for the given column, @@ -147,49 +146,49 @@ public interface ITreeModelViewer extends ISelectionProvider { * <code>null</code> if the given element is not found or is not * materialized in the virtual viewer. */ - public ViewerLabel getElementLabel(TreePath path, String columnId); + ViewerLabel getElementLabel(TreePath path, String columnId); /** * Registers the specified listener for view update notifications. * * @param listener Listener to add */ - public void addViewerUpdateListener(IViewerUpdateListener listener); + void addViewerUpdateListener(IViewerUpdateListener listener); /** * Removes the specified listener from update notifications. * * @param listener Listener to remove */ - public void removeViewerUpdateListener(IViewerUpdateListener listener); + void removeViewerUpdateListener(IViewerUpdateListener listener); /** * Registers the specified listener for state update notifications. * * @param listener Listener to add */ - public void addStateUpdateListener(IStateUpdateListener listener); + void addStateUpdateListener(IStateUpdateListener listener); /** * Removes the specified listener from state update notifications. * * @param listener Listener to remove */ - public void removeStateUpdateListener(IStateUpdateListener listener); + void removeStateUpdateListener(IStateUpdateListener listener); /** * Registers the specified listener for view label update notifications. * * @param listener Listener to add */ - public void addLabelUpdateListener(ILabelUpdateListener listener); + void addLabelUpdateListener(ILabelUpdateListener listener); /** * Removes the specified listener from view label update notifications. * * @param listener Listener to remove */ - public void removeLabelUpdateListener(ILabelUpdateListener listener); + void removeLabelUpdateListener(ILabelUpdateListener listener); /** * Registers the given listener for model delta notification. @@ -198,14 +197,14 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @param listener Listener to add */ - public void addModelChangedListener(IModelChangedListener listener); + void addModelChangedListener(IModelChangedListener listener); /** * Removes the given listener from model delta notification. * * @param listener Listener to remove */ - public void removeModelChangedListener(IModelChangedListener listener); + void removeModelChangedListener(IModelChangedListener listener); /** * Writes state information into a delta for the sub-tree at the given @@ -221,7 +220,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * return <code>false</code> if an element at the given path cannot * be found. */ - public boolean saveElementState(TreePath path, ModelDelta delta, int flagsToSave); + boolean saveElementState(TreePath path, ModelDelta delta, int flagsToSave); /** * Causes the viewer to process the given delta as if it came from a @@ -230,7 +229,7 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @param delta Delta to process. */ - public void updateViewer(IModelDelta delta); + void updateViewer(IModelDelta delta); /** * Triggers an update of the given element and its children. If @@ -239,12 +238,12 @@ public interface ITreeModelViewer extends ISelectionProvider { * * @param element Element to update. */ - public void refresh(Object element); + void refresh(Object element); /** * Triggers a full update of all the elements in the tree. */ - public void refresh(); + void refresh(); /** * Returns the paths at which the given element is found realized in viewer @@ -253,27 +252,27 @@ public interface ITreeModelViewer extends ISelectionProvider { * @param element Element to find. * @return Array of paths for given element. */ - public TreePath[] getElementPaths(Object element); + TreePath[] getElementPaths(Object element); /** * Returns filters currently configured in viewer. * * @return filter array in viewer. */ - public ViewerFilter[] getFilters(); + ViewerFilter[] getFilters(); /** * Add a new filter to use in viewer. * * @param filter Filter to add. */ - public void addFilter(ViewerFilter filter); + void addFilter(ViewerFilter filter); /** * Sets viewer filters to the filters in array. * * @param filters New filter array to use. */ - public void setFilters(ViewerFilter... filters); + void setFilters(ViewerFilter... filters); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewActionProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewActionProvider.java index 0c87ff80d..1047b4fdc 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewActionProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewActionProvider.java @@ -30,5 +30,5 @@ public interface IViewActionProvider { * @param actionID action id * @return action or null */ - public IAction getAction(IPresentationContext presentationContext, String actionID); + IAction getAction(IPresentationContext presentationContext, String actionID); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputProvider.java index f691d2841..dc7ac6773 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputProvider.java @@ -32,7 +32,7 @@ public interface IViewerInputProvider { * @param update provides details about the request and stores the newly * computed viewer input */ - public void update(IViewerInputUpdate update); + void update(IViewerInputUpdate update); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputRequestor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputRequestor.java index 9ac314eb3..9dcc8458c 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputRequestor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputRequestor.java @@ -27,5 +27,5 @@ public interface IViewerInputRequestor { * * @param update viewer input update request */ - public void viewerInputComplete(IViewerInputUpdate update); + void viewerInputComplete(IViewerInputUpdate update); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputUpdate.java index 3443b28f3..a6cf1c8d2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputUpdate.java @@ -30,7 +30,7 @@ public interface IViewerInputUpdate extends IViewerUpdate { * * @param element viewer input for this request's presentation context, possibly <code>null</code> */ - public void setInputElement(Object element); + void setInputElement(Object element); /** * Returns the computed viewer input or <code>null</code> if none. The return value of this method @@ -38,5 +38,5 @@ public interface IViewerInputUpdate extends IViewerUpdate { * * @return viewer input or <code>null</code> */ - public Object getInputElement(); + Object getInputElement(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdate.java index 0df2ce637..633fd754c 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdate.java @@ -26,14 +26,14 @@ public interface IViewerUpdate extends IRequest { * * @return context this update was requested in */ - public IPresentationContext getPresentationContext(); + IPresentationContext getPresentationContext(); /** * Returns the model element associated with this request. * * @return associated model element */ - public Object getElement(); + Object getElement(); /** * Returns the viewer tree path to the model element associated with this @@ -41,7 +41,7 @@ public interface IViewerUpdate extends IRequest { * * @return tree path, possibly empty */ - public TreePath getElementPath(); + TreePath getElementPath(); /** * Returns the element that was the viewer input at the time the @@ -50,5 +50,5 @@ public interface IViewerUpdate extends IRequest { * @return viewer input element, possibly <code>null</code> * @since 3.4 */ - public Object getViewerInput(); + Object getViewerInput(); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdateListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdateListener.java index 647f2ea3f..f824f8281 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdateListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdateListener.java @@ -21,13 +21,13 @@ public interface IViewerUpdateListener { /** * Notification that a sequence of viewer updates are starting. */ - public void viewerUpdatesBegin(); + void viewerUpdatesBegin(); /** * Notification that viewer updates are complete. Corresponds to * a <code>viewerUpdatesBegin()</code> notification. */ - public void viewerUpdatesComplete(); + void viewerUpdatesComplete(); /** * Notification that a specific update has started within @@ -35,7 +35,7 @@ public interface IViewerUpdateListener { * * @param update update */ - public void updateStarted(IViewerUpdate update); + void updateStarted(IViewerUpdate update); /** * Notification that a specific update has completed within a @@ -43,5 +43,5 @@ public interface IViewerUpdateListener { * * @param update update */ - public void updateComplete(IViewerUpdate update); + void updateComplete(IViewerUpdate update); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemListener.java index 67ffdb815..146ce409d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemListener.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemListener.java @@ -26,7 +26,7 @@ public interface IVirtualItemListener { * * @param item The item that was revealed. */ - public void revealed(VirtualItem item); + void revealed(VirtualItem item); /** * Called when an item is disposed. It tells the viewer to @@ -34,5 +34,5 @@ public interface IVirtualItemListener { * * @param item The itam that was disposed. */ - public void disposed(VirtualItem item); + void disposed(VirtualItem item); }
\ No newline at end of file diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemValidator.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemValidator.java index 2ed6682e7..17eab9eb4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemValidator.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemValidator.java @@ -27,12 +27,12 @@ public interface IVirtualItemValidator { * @param item Item to be tested. * @return returns true if the item should be considered visible. */ - public boolean isItemVisible(VirtualItem item); + boolean isItemVisible(VirtualItem item); /** * Indicates that the viewer requested to reveal the given item in viewer. * * @param item Item to show. */ - public void showItem(VirtualItem item); + void showItem(VirtualItem item); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousContentAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousContentAdapter.java index 68d47a7d2..638c76689 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousContentAdapter.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousContentAdapter.java @@ -31,7 +31,7 @@ public interface IAsynchronousContentAdapter { * @param context the context in which children have been requested * @param monitor request monitor to report children to */ - public void retrieveChildren(Object parent, IPresentationContext context, IChildrenRequestMonitor result); + void retrieveChildren(Object parent, IPresentationContext context, IChildrenRequestMonitor result); /** * Asynchronously determines whether the given element contains children in the specified @@ -43,6 +43,6 @@ public interface IAsynchronousContentAdapter { * @param context the context in which children may exist * @param monitor request monitor to report the result to */ - public void isContainer(Object element, IPresentationContext context, IContainerRequestMonitor result); + void isContainer(Object element, IPresentationContext context, IContainerRequestMonitor result); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousLabelAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousLabelAdapter.java index 518be81dc..833747fc5 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousLabelAdapter.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousLabelAdapter.java @@ -31,7 +31,7 @@ public interface IAsynchronousLabelAdapter { * @param context the context in which the label has been requested * @param monitor request monitor to report the result to */ - public void retrieveLabel(Object object, IPresentationContext context, ILabelRequestMonitor result); + void retrieveLabel(Object object, IPresentationContext context, ILabelRequestMonitor result); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IChildrenRequestMonitor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IChildrenRequestMonitor.java index 3f5646c0e..29621cf8c 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IChildrenRequestMonitor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IChildrenRequestMonitor.java @@ -26,12 +26,12 @@ public interface IChildrenRequestMonitor extends IStatusMonitor { * * @param child child to add */ - public void addChild(Object child); + void addChild(Object child); /** * Adds the given children to this request. * * @param children children to add */ - public void addChildren(Object[] children); + void addChildren(Object[] children); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IContainerRequestMonitor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IContainerRequestMonitor.java index be1f3b36c..aa03a4258 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IContainerRequestMonitor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IContainerRequestMonitor.java @@ -27,6 +27,6 @@ public interface IContainerRequestMonitor extends IStatusMonitor { * * @param container whether an element contains children */ - public void setIsContainer(boolean container); + void setIsContainer(boolean container); } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/ILabelRequestMonitor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/ILabelRequestMonitor.java index 967d5ac5f..2329f9eec 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/ILabelRequestMonitor.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/ILabelRequestMonitor.java @@ -30,34 +30,34 @@ public interface ILabelRequestMonitor extends IStatusMonitor { * * @param text */ - public void setLabels(String[] text); + void setLabels(String[] text); /** * Sets the font of the label. * * @param fontData */ - public void setFontDatas(FontData[] fontData); + void setFontDatas(FontData[] fontData); /** * Sets the image of the label. * * @param image */ - public void setImageDescriptors(ImageDescriptor[] image); + void setImageDescriptors(ImageDescriptor[] image); /** * Sets the foreground color of the label. * * @param foreground */ - public void setForegrounds(RGB[] foreground); + void setForegrounds(RGB[] foreground); /** * Sets the background color of the label. * * @param background */ - public void setBackgrounds(RGB[] background); + void setBackgrounds(RGB[] background); } |