Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2001-12-13 06:29:03 -0500
committerDani Megert2001-12-13 06:29:03 -0500
commit0f5cc0d56900f4ff6d582e29b2f91cce5f1ebcef (patch)
tree623e9ea430caa8c3d87f7be4f3fb4b73df079b7c
parentf5dc39fce05c6740865fd2e894b61e461c99c825 (diff)
downloadeclipse.platform.text-0f5cc0d56900f4ff6d582e29b2f91cce5f1ebcef.tar.gz
eclipse.platform.text-0f5cc0d56900f4ff6d582e29b2f91cce5f1ebcef.tar.xz
eclipse.platform.text-0f5cc0d56900f4ff6d582e29b2f91cce5f1ebcef.zip
Added @since tag
-rw-r--r--org.eclipse.search/buildnotes_search.html2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/ui/IContextMenuConstants.java2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/ui/ISearchPageContainer.java11
-rw-r--r--org.eclipse.search/search/org/eclipse/search/ui/ISearchResultView.java2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/ui/IWorkingSet.java2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/ui/SearchUI.java6
6 files changed, 24 insertions, 1 deletions
diff --git a/org.eclipse.search/buildnotes_search.html b/org.eclipse.search/buildnotes_search.html
index 67050a10d..aaa43f962 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 03e258236..c6a33ef14 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 876b15912..fa4c7dfb9 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 b744089da..8529bb6d5 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 320641d85..d9dd39df1 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 8e8c058ee..043eecd64 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;

Back to the top