Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.search/new search')
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/IContextMenuConstants.java36
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java52
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/package.html8
3 files changed, 55 insertions, 41 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/IContextMenuConstants.java b/org.eclipse.search/new search/org/eclipse/search/ui/IContextMenuConstants.java
index 6ead79c663b..5099b1efb67 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/IContextMenuConstants.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/IContextMenuConstants.java
@@ -29,50 +29,54 @@ import org.eclipse.ui.IWorkbenchActionConstants;
public interface IContextMenuConstants {
/**
- * Pop-up menu: name of group for goto actions (value <code>"group.open"</code>).
+ * Pop-up menu: name of group for goto actions (value
+ * <code>"group.open"</code>).
* <p>
* Examples for open actions are:
+ * </p>
* <ul>
- * <li>Go Into</li>
- * <li>Go To</li>
+ * <li>Go Into</li>
+ * <li>Go To</li>
* </ul>
- * </p>
*/
public static final String GROUP_GOTO= "group.goto"; //$NON-NLS-1$
/**
- * Pop-up menu: name of group for open actions (value <code>"group.open"</code>).
+ * Pop-up menu: name of group for open actions (value
+ * <code>"group.open"</code>).
* <p>
* Examples for open actions are:
+ * </p>
* <ul>
- * <li>Open To</li>
- * <li>Open With</li>
+ * <li>Open To</li>
+ * <li>Open With</li>
* </ul>
- * </p>
*/
public static final String GROUP_OPEN= "group.open"; //$NON-NLS-1$
/**
- * Pop-up menu: name of group for show actions (value <code>"group.show"</code>).
+ * Pop-up menu: name of group for show actions (value
+ * <code>"group.show"</code>).
* <p>
* Examples for show actions are:
+ * </p>
* <ul>
- * <li>Show in Navigator</li>
- * <li>Show in Type Hierarchy</li>
+ * <li>Show in Navigator</li>
+ * <li>Show in Type Hierarchy</li>
* </ul>
- * </p>
*/
public static final String GROUP_SHOW= "group.show"; //$NON-NLS-1$
/**
- * Pop-up menu: name of group for new actions (value <code>"group.new"</code>).
+ * Pop-up menu: name of group for new actions (value
+ * <code>"group.new"</code>).
* <p>
* Examples for new actions are:
+ * </p>
* <ul>
- * <li>Create new class</li>
- * <li>Create new interface</li>
+ * <li>Create new class</li>
+ * <li>Create new interface</li>
* </ul>
- * </p>
*/
public static final String GROUP_NEW= "group.new"; //$NON-NLS-1$
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java
index 45878ad8e0c..01310e7e571 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java
@@ -1417,21 +1417,27 @@ public abstract class AbstractTextSearchViewPage extends Page implements ISearch
}
/**
- * Sets the maximal number of top level elements to be shown in a viewer.
- * If <code>null</code> is set, the view page does not support to limit the elements and will not provide
- * UI to configure it. If a non-null value is set, configuration UI will be provided. The limit value must be a positive
- * number or <code>-1</code> to not limit top level element.
- * If enabled, the element limit has to be enforced by the content provider that is implemented by the client. The view
- * page just manages the value and configuration.
+ * Sets the maximal number of top level elements to be shown in a viewer. If
+ * <code>null</code> is set, the view page does not support to limit the
+ * elements and will not provide UI to configure it. If a non-null value is
+ * set, configuration UI will be provided. The limit value must be a
+ * positive number or <code>-1</code> to not limit top level element. If
+ * enabled, the element limit has to be enforced by the content provider
+ * that is implemented by the client. The view page just manages the value
+ * and configuration.
*
- * @param limit the element limit. Valid values are:
- * <dl>
- * <li><code>null</code> to not limit and not provide configuration UI</li>
- * <li><code>-1</code> to not limit and provide configuration UI</li>
- * <li><code>positive integer</code> to limit by the given value and provide configuration UI</li>
- * </dl>
+ * @param limit
+ * the element limit. Valid values are:
+ * <ul>
+ * <li><code>null</code> to not limit and not provide
+ * configuration UI</li>
+ * <li><code>-1</code> to not limit and provide configuration
+ * UI</li>
+ * <li><code>positive integer</code> to limit by the given value
+ * and provide configuration UI</li>
+ * </ul>
*
- * @since 3.3
+ * @since 3.3
*/
public void setElementLimit(Integer limit) {
fElementLimit= limit;
@@ -1446,18 +1452,22 @@ public abstract class AbstractTextSearchViewPage extends Page implements ISearch
/**
* Gets the maximal number of top level elements to be shown in a viewer.
- * <code>null</code> means the view page does not limit the elements and will not provide
- * UI to configure it. If a non-null value is set, configuration UI will be provided. The limit value must be a positive
+ * <code>null</code> means the view page does not limit the elements and
+ * will not provide UI to configure it. If a non-null value is set,
+ * configuration UI will be provided. The limit value must be a positive
* number or <code>-1</code> to not limit top level element.
*
* @return returns the element limit. Valid values are:
- * <dl>
- * <li><code>null</code> to not limit and not provide configuration UI (default value)</li>
- * <li><code>-1</code> to not limit and provide configuration UI</li>
- * <li><code>positive integer</code> to limit by the given value and provide configuration UI</li>
- * </dl>
+ * <ul>
+ * <li><code>null</code> to not limit and not provide configuration
+ * UI (default value)</li>
+ * <li><code>-1</code> to not limit and provide configuration
+ * UI</li>
+ * <li><code>positive integer</code> to limit by the given value and
+ * provide configuration UI</li>
+ * </ul>
*
- * @since 3.3
+ * @since 3.3
*/
public Integer getElementLimit() {
return fElementLimit;
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/package.html b/org.eclipse.search/new search/org/eclipse/search/ui/text/package.html
index f1bb90d0fa3..687eb1f0019 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/package.html
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/package.html
@@ -8,11 +8,11 @@ Provides the base classes to implement a search result view part for searches wi
<h2>
Package Specification</h2>
-<tt>AbstractTextSearchResult</tt> implements a <tt>ISearchResult</tt> and holds result entries of type <tt>Match</tt>. A match represents a range of text in
+<code>AbstractTextSearchResult</code> implements a <code>ISearchResult</code> and holds result entries of type <code>Match</code>. A match represents a range of text in
a parent resource.
-<p><tt>AbstractTextSearchViewPage</tt> implements a <tt>ISearchResultPage</tt> capable of showing an <tt>AbstractTextSearchResult</tt>.
-It uses <tt>IEditorMatchAdapter</tt>, <tt>IFileMatchAdapter</tt> to adapt matches to editor, resp. files.
-<p> Editors that don't use standard text annotation models can implement <tt>ISearchEditorAccess</tt> to allow textual searches
+<p><code>AbstractTextSearchViewPage</code> implements a <code>ISearchResultPage</code> capable of showing an <code>AbstractTextSearchResult</code>.
+It uses <code>IEditorMatchAdapter</code>, <code>IFileMatchAdapter</code> to adapt matches to editor, resp. files.
+<p> Editors that don't use standard text annotation models can implement <code>ISearchEditorAccess</code> to allow textual searches
to be shown.
</body></html> \ No newline at end of file

Back to the top