diff options
6 files changed, 24 insertions, 1 deletions
diff --git a/org.eclipse.search/buildnotes_search.html b/org.eclipse.search/buildnotes_search.html index 67050a10d3a..aaa43f962de 100644 --- a/org.eclipse.search/buildnotes_search.html +++ b/org.eclipse.search/buildnotes_search.html @@ -23,7 +23,7 @@ API additions</h3> <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 03e2582360a..c6a33ef14da 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 @@ import org.eclipse.ui.IWorkbenchActionConstants; * <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 876b1591242..fa4c7dfb9d3 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 @@ public interface ISearchPageContainer { /**
* 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 @@ public interface ISearchPageContainer { * 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 @@ public interface ISearchPageContainer { * 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 @@ public interface ISearchPageContainer { * 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 @@ public interface ISearchPageContainer { * </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 @@ public interface ISearchPageContainer { * </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 b744089da8e..8529bb6d5a4 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 @@ public interface ISearchResultView extends IViewPart { * @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 @@ public interface ISearchResultView extends IViewPart { * 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 320641d853a..d9dd39df191 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 @@ import org.eclipse.core.resources.IResource; * <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 8e8c058ee5f..043eecd6459 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 @@ public final class SearchUI { /**
* 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 @@ public final class SearchUI { *
* @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 @@ public final class SearchUI { * </p>
*
* @return an array of IWorkingSet
+ * @since 2.0
*/
public static IWorkingSet[] getWorkingSets() {
return WorkingSet.getWorkingSets();
@@ -144,6 +148,7 @@ public final class SearchUI { *
* @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 @@ public final class SearchUI { *
* @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;
|