Added @since tag
diff --git a/org.eclipse.search/buildnotes_search.html b/org.eclipse.search/buildnotes_search.html index 67050a1..aaa43f9 100644 --- a/org.eclipse.search/buildnotes_search.html +++ b/org.eclipse.search/buildnotes_search.html
@@ -23,7 +23,7 @@ <h3> Other highlights</h3> - +APIs added for 2.0 are now flagged with <b>@since 2.0</b>. <h2> Known deficiencies</h2>
diff --git a/org.eclipse.search/search/org/eclipse/search/ui/IContextMenuConstants.java b/org.eclipse.search/search/org/eclipse/search/ui/IContextMenuConstants.java index 03e2582..c6a33ef 100644 --- a/org.eclipse.search/search/org/eclipse/search/ui/IContextMenuConstants.java +++ b/org.eclipse.search/search/org/eclipse/search/ui/IContextMenuConstants.java
@@ -11,6 +11,8 @@ * <p> * This interface declares constants only; it is not intended to be implemented. * </p> + * + * @since 2.0 */ public interface IContextMenuConstants {
diff --git a/org.eclipse.search/search/org/eclipse/search/ui/ISearchPageContainer.java b/org.eclipse.search/search/org/eclipse/search/ui/ISearchPageContainer.java index 876b159..fa4c7df 100644 --- a/org.eclipse.search/search/org/eclipse/search/ui/ISearchPageContainer.java +++ b/org.eclipse.search/search/org/eclipse/search/ui/ISearchPageContainer.java
@@ -20,16 +20,22 @@ /** * Workspace scope (value <code>0</code>). + * + * @since 2.0 */ public static final int WORKSPACE_SCOPE= 0; /** * Selection scope (value <code>1</code>). + * + * @since 2.0 */ public static final int SELECTION_SCOPE= 1; /** * Working set scope (value <code>2</code>). + * + * @since 2.0 */ public static final int WORKING_SET_SCOPE= 2; @@ -62,6 +68,7 @@ * The scope is WORKSPACE_SCOPE, SELECTION_SCOPE or WORKING_SET_SCOPE. * * @return the selected scope + * @since 2.0 */ public int getSelectedScope(); @@ -70,6 +77,7 @@ * The scope is WORKSPACE_SCOPE, SELECTION_SCOPE or WORKING_SET_SCOPE. * * @return the selected scope + * @since 2.0 */ public void setSelectedScope(int scope); @@ -77,6 +85,7 @@ * Tells whether a valid scope is selected. * * @return a <code>true</code> if a valid scope is selected in this search page container + * @since 2.0 */ public boolean hasValidScope(); @@ -91,6 +100,7 @@ * </p> * * @return the selected IWorkingSet or <code>null</code> if the scope is not WORKING_SET_SCOPE + * @since 2.0 */ public IWorkingSet getSelectedWorkingSet(); @@ -105,6 +115,7 @@ * </p> * * @param workingSet the IWorkingSet to be selected + * @since 2.0 */ public void setSelectedWorkingSet(IWorkingSet workingSet); } \ No newline at end of file
diff --git a/org.eclipse.search/search/org/eclipse/search/ui/ISearchResultView.java b/org.eclipse.search/search/org/eclipse/search/ui/ISearchResultView.java index b744089..8529bb6 100644 --- a/org.eclipse.search/search/org/eclipse/search/ui/ISearchResultView.java +++ b/org.eclipse.search/search/org/eclipse/search/ui/ISearchResultView.java
@@ -93,6 +93,7 @@ * @param gotoAction the action used by the view to go to a marker * @param groupByKeyComputer the computer used by the view to compute the key for a marker * @param operation the runnable used by the view to repeat the search + * @since 2.0 */ public void searchStarted( String pageId, @@ -131,6 +132,7 @@ * Returns the label provider of a search result view. * * @return the label provider of a search result view or <code>null</code> + * @since 2.0 */ public ILabelProvider getLabelProvider(); } \ No newline at end of file
diff --git a/org.eclipse.search/search/org/eclipse/search/ui/IWorkingSet.java b/org.eclipse.search/search/org/eclipse/search/ui/IWorkingSet.java index 320641d..d9dd39d 100644 --- a/org.eclipse.search/search/org/eclipse/search/ui/IWorkingSet.java +++ b/org.eclipse.search/search/org/eclipse/search/ui/IWorkingSet.java
@@ -14,6 +14,8 @@ * <p> * [Issue: Working set must be provided by platform.] * </p> + * + * @since 2.0 */ public interface IWorkingSet {
diff --git a/org.eclipse.search/search/org/eclipse/search/ui/SearchUI.java b/org.eclipse.search/search/org/eclipse/search/ui/SearchUI.java index 8e8c058..043eecd 100644 --- a/org.eclipse.search/search/org/eclipse/search/ui/SearchUI.java +++ b/org.eclipse.search/search/org/eclipse/search/ui/SearchUI.java
@@ -58,6 +58,8 @@ /** * Id of the Search action set * (value <code>"org.eclipse.search.searchActionSet"</code>). + * + * @since 2.0 */ public static final String ACTION_SET_ID= PLUGIN_ID + ".searchActionSet"; //$NON-NLS-1$ @@ -111,6 +113,7 @@ * * @param parent the parent shell of the dialog to be created * @return a new selection dialog or <code>null</code> if none available + * @since 2.0 */ public static SelectionDialog createWorkingSetDialog(Shell parent) { return new WorkingSetSelectionDialog(parent); @@ -127,6 +130,7 @@ * </p> * * @return an array of IWorkingSet + * @since 2.0 */ public static IWorkingSet[] getWorkingSets() { return WorkingSet.getWorkingSets(); @@ -144,6 +148,7 @@ * * @param name the name the working set * @return the working set with the given name or <code>null</code> if not found + * @since 2.0 */ public static IWorkingSet findWorkingSet(String name) { return WorkingSet.find(name); @@ -161,6 +166,7 @@ * * @param name the name the working set * @return <code>true</code> if editors should be reused for showing search results + * @since 2.0 */ public static boolean reuseEditor() { return true;