diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench.htm index b5f5a06b51e..b2dcc122993 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench.htm @@ -1,12 +1,9 @@ - + - - - - + Plugging into the workbench @@ -32,7 +29,7 @@

When you open your workbench on a set of projects, it looks something like this.

-

Workbench with navigator view, editor, outliner, and task list

+

Workbench with navigator view, editor, outliner, and task list

The workbench is just a frame that can present various visual parts. These parts fall into two major categories: views and editors.

@@ -56,9 +53,7 @@

or view something of interest. For example, the project explorer lets the user navigate the workspace and select resources.

- - - +

Editors

@@ -66,11 +61,9 @@

Editors allow the user to open, edit, and save objects. The workbench provides a standard editor for text resources.

- +

Additional editors, such as Java code editors or HTML editors, can be supplied by plug-ins

- - diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_activities.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_activities.htm index 4327f22243c..457b927acd6 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_activities.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_activities.htm @@ -1,20 +1,33 @@ - + - - - - Activities + - +

Activities

An activity is a logical grouping of functionality that is centered around a certain kind of task. For example, developing Java software is an activity commonly performed by users of the platform, and the @@ -177,15 +190,15 @@

Binding Activities to UI Contributions

Activities can be associated plug-in-identifier + "/" + local-identifier For example, the following activity pattern binding states that a UI -contribution from any JDT plug-in id (org.eclipse.jdt.*) is associated +contribution from any JDT plug-in id (org.eclipse.jdt.*) is associated with the Java development activity regardless of its local identifier -(.*). +(.*).
<activityPatternBinding
   activityId="org.eclipse.javaDevelopment"
   pattern="org\.eclipse\.jdt\..*/.*">
 </activityPatternBinding>
 
The next binding is more specific. It states that the contribution named -javanature defined in the JDT core (org.eclipse.jdt.core) is +javanature defined in the JDT core (org.eclipse.jdt.core) is associated with the Java development activity.
<activityPatternBinding
   activityId="org.eclipse.javaDevelopment"
@@ -196,14 +209,14 @@ 

Binding Activities to UI Contributions

Activities can be associated It is also possible to refer to a single UI contribution using its id without having to use regular expression syntax if the attribute -isEqualityPattern is set to true.
+isEqualityPattern is set to true.
The following XML shows the previous example with the - isEqualityPattern set to true.
+ isEqualityPattern set to true.
-
+
<activityPatternBinding
  activityId="org.eclipse.javaDevelopment"
  pattern="org.eclipse.jdt.core/javanature"
  isEqualityPattern="true">
</activityPatternBinding>
-
As you can see, activity pattern bindings can be used to associate +
As you can see, activity pattern bindings can be used to associate large groups of contributions with a particular activity, or to associate very specific contributions with an activity. The following contributions are affected by activities: @@ -314,19 +327,19 @@

Using Expression-based Activities

To filter a UI element using an expression-based activity, create an activity like the following:
- <activity
 id="forbiddenViewActivityId" name="Forbidden View Activity">
  <enabledWhen>
    <with variable="rightsVariable">
      + <activity
 id="forbiddenViewActivityId" name="Forbidden View Activity">
  <enabledWhen>
    <with variable="rightsVariable">
      <iterate ifEmpty="false" operator="or">
        <equals value="grantShowForbidden" />
      </iterate>
    </with>
  </enabledWhen>
</activity> -


+


Then, bind this activity to a UI element, for example a view:
- <activityPatternBinding
 activityId="forbiddenViewActivityId"

 <!-- Switches the interpretation of the pattern - as regular expression off -->
 isEqualityPattern="true"
 pattern="DemoRCP/demorcp.views.ForbiddenView">
+ <activityPatternBinding
 activityId="forbiddenViewActivityId"

 <!-- Switches the interpretation of the pattern + as regular expression off -->
 isEqualityPattern="true"
 pattern="DemoRCP/demorcp.views.ForbiddenView">
</activityPatternBinding> -
+

The following code snippets show how to control the variable "rightsVariable" that appears in the activity's "enabledWhen" expression. New variables can be added @@ -334,50 +347,49 @@

Using Expression-based Activities

AbstractSourceProvider.

-

- +

-import java.util.HashMap;
...

-import org.eclipse.ui.AbstractSourceProvider;
+import java.util.HashMap;
...
+import org.eclipse.ui.AbstractSourceProvider;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.handlers.IHandlerService;
-import org.eclipse.ui.services.IEvaluationService;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.handlers.IHandlerService;
+import org.eclipse.ui.services.IEvaluationService;

-public class RightsSourceProvider extends AbstractSourceProvider {
+public class RightsSourceProvider extends AbstractSourceProvider {

-  public final static String RIGHT_FORBIDDEN = "grantShowForbidden";
+  public final static String RIGHT_FORBIDDEN = "grantShowForbidden";

-  public final static String RIGHTS_VARIABLE = "rightsVariable";
+  public final static String RIGHTS_VARIABLE = "rightsVariable";
-  private final static String[] PROVIDED_SOURCE_NAMES = new String[] { RIGHTS_VARIABLE };
+  private final static String[] PROVIDED_SOURCE_NAMES = new String[] { RIGHTS_VARIABLE };

-  private final static Map<String, List<String>> stateMap = new HashMap<String, List<String>>();
+  private final static Map<String, List<String>> stateMap = new HashMap<String, List<String>>();

-  public Map getCurrentState() {
    /* "YourRightsHandler" is here just an example for a +  public Map getCurrentState() {
    /* "YourRightsHandler" is here just an example for a static class
     * which returns the list of -rights as a list of strings. */

+rights as a list of strings. */
-    stateMap.put(RIGHTS_VARIABLE, YourRightsHandler.getUserRights());
-    return stateMap;
-  }

-  public String[] getProvidedSourceNames() {
+    stateMap.put(RIGHTS_VARIABLE, YourRightsHandler.getUserRights());
+    return stateMap;
+  }

+  public String<[] getProvidedSourceNames() {
-    return PROVIDED_SOURCE_NAMES;
-  }

  /* This triggers an update of the rights variable state, and +    return PROVIDED_SOURCE_NAMES;
+  }

  /* This triggers an update of the rights variable state, and will update also all 
   * listeners to the evaluation service. So that every menu point, which is also
   * expression -controlled, gets updated too. */

-  public void updateRights() {
+controlled, gets updated too. */
+  public void updateRights() {
-    fireSourceChanged(0, getCurrentState());
-  }

  // ...
-}
-

+    fireSourceChanged(0, getCurrentState());
+  }

  // ...
+} +

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_contexts.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_contexts.htm index a033db05756..33d75f02350 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_contexts.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_contexts.htm @@ -1,12 +1,9 @@ - + - - - - + Contexts diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_decorators.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_decorators.htm index dc7163add00..81b11cdf533 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_decorators.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_decorators.htm @@ -1,12 +1,9 @@ - + - - - - + Decorators @@ -26,7 +23,7 @@

binary and source projects.

-

Package Explorer view with PDE decorators

+

Package Explorer view with PDE decorators

The com.example.helloworld  project is the only source project @@ -136,7 +133,7 @@

is on.  This technique is used by the CVS client.

-

CVS decorators preference page

+

CVS decorators preference page

 

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_elementFactories.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_elementFactories.htm index 15f5613978b..ea46380790b 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_elementFactories.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_elementFactories.htm @@ -1,12 +1,9 @@ - + - - - - + Element factories @@ -22,7 +19,7 @@

Element factories

that is used throughout the platform to add plug-in specific behavior to common platform model objects.

- + IAdaptables and workbench adapters

When browsing the various workbench classes, you will notice that many of the workbench interfaces extend the diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectiveExtension.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectiveExtension.htm index 20f8672827c..0c42a7c9491 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectiveExtension.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectiveExtension.htm @@ -1,13 +1,10 @@ - + - - - - - + + org.eclipse.ui.perspectiveExtensions diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectives.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectives.htm index 156fa700dce..298f0bcb86f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectives.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_perspectives.htm @@ -1,12 +1,9 @@ - + - - - - + org.eclipse.ui.perspectives diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_resourceFilters.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_resourceFilters.htm index 369fe3102fa..5ce1602d519 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_resourceFilters.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_advext_resourceFilters.htm @@ -1,20 +1,15 @@ - + - - - - + Contributing resource filters - -

Contributing resource filters

@@ -39,7 +34,7 @@

pull-down menu.

-

Resource filters menu

+

Resource filters menu

In addition to declaring the filter pattern, @@ -49,10 +44,7 @@

control which filter patterns are active.

-

Filter selection dialog

- - - +

Filter selection dialog

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_editors.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_editors.htm index 7c80fdcf033..2b78ac52a0a 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_editors.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_editors.htm @@ -1,12 +1,9 @@ - + - - - - + org.eclipse.ui.editors @@ -81,7 +78,7 @@

Editor menus and editor toolbars are placed in the main menu and main toolbar. See org.eclipse.ui.menus for how to use the locationURI to place the commands correctly.

-Showing a global menu additions +Showing a global menu additions

These menu and tool bar items can be shown only when the editor is active using core expressions. To define a re-usable core expression for your editor, use diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_views.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_views.htm index ce0d210cfb8..f994798e5a1 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_views.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_basicext_views.htm @@ -1,13 +1,10 @@ - + - - - - - + + org.eclipse.ui.views @@ -104,8 +101,6 @@

It obtains the service from its IViewSite, which contains information about the view's context, such as its workbench window, its containing page, its local services, and its plug-in.

-

-

We've covered a lot of common workbench concepts by studying this extension. Now we'll move on to some other workbench extensions and examine how your plug-in can further contribute to the workbench UI.

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm index b5b6555dbb6..e61809bffda 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm @@ -1,12 +1,9 @@ - + - - - - + Basic workbench extension points diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_bindings.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_bindings.htm index 3ef26f4f27e..18ecc998a9e 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_bindings.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_bindings.htm @@ -1,17 +1,15 @@ - + - - - - + Key bindings +

Key Bindings

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_commands.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_commands.htm index 91a3507dc4b..91fc6bb61b2 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_commands.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_commands.htm @@ -1,17 +1,15 @@ - + - - - - + Commands +

Commands

diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_expressions.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_expressions.htm index 7b54acc6eb3..3ce250bca66 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_expressions.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_expressions.htm @@ -1,16 +1,23 @@ - + - - - - - + + Workbench Core Expressions +

Workbench Core Expressions

@@ -56,7 +63,7 @@

Declarative Expression Examples

  • ActionSets and Contexts
  • -

    Basic IStructuredSelection

    +

    Basic IStructuredSelection

    Most of the tree or table like viewers return an @@ -138,7 +145,7 @@

    Declarative Expression Examples

    -

    IResources and the Package or Project Explorer

    +

    IResources and the Package or Project Explorer

    The Package Explorer is a mixture of @@ -186,7 +193,7 @@

    Declarative Expression Examples

    -

    Active Contexts

    +

    Active Contexts

    If your handler should be enabled when your view or editor activates a context, you can use the @@ -206,7 +213,7 @@

    Declarative Expression Examples

    </enabledWhen> -

    Active Views and Editor

    +

    Active Views and Editor

    For handlers that are to be contributed to a specific view or editor, you can use activeEditorId @@ -234,7 +241,7 @@

    Declarative Expression Examples

    </activeWhen> -

    ActionSets and Contexts

    +

    ActionSets and Contexts

    As of 3.3 all org.eclipse.ui.actionSets (Deprecated) generate a context with a parent of org.eclipse.ui.contexts.actionSet. Contexts with @@ -285,12 +292,11 @@

    Variables Provided in the Workbench

    The following table explains some of the more commonly used ones:

    - +
    - @@ -541,7 +547,7 @@

    Property Testers Provided in the Workbench

    org.eclipse.core.resources.name.

    -
    Name Type DescriptionSince
    +
    @@ -602,7 +608,7 @@

    Property Testers Provided in the Workbench

    - + @@ -750,7 +756,7 @@

    Property Testers Provided in the Workbench

    - + @@ -793,7 +799,7 @@

    Property Testers Provided in the Workbench

    - + @@ -834,7 +840,7 @@

    Property Testers Provided in the Workbench

    - + @@ -879,7 +885,7 @@

    Property Testers Provided in the Workbench

    - + @@ -932,7 +938,7 @@

    Property Testers Provided in the Workbench

    - + diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_handlers.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_handlers.htm index 1ba24baf5ae..7aa78fb2de2 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_handlers.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_handlers.htm @@ -1,12 +1,9 @@ - + - - - - + Handlers diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_menus.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_menus.htm index 355f3e714bf..0345ea772bb 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_menus.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_cmd_menus.htm @@ -1,13 +1,10 @@ - + - - - - - + +org.eclipse.ui.menus @@ -373,7 +370,7 @@

    Adding Toolbars to Trim Areas

    and an indication of which side the trim is currently docked on.

    -Picture of trim contribution +Picture of trim contribution

    Let's take a look at the extension point definition used to contribute this piece of trim: diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_jobs.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_jobs.htm index e318212a6a7..f6bef4a7189 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_jobs.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_jobs.htm @@ -1,14 +1,10 @@ - + - - - + Workbench concurrency support @@ -110,7 +106,7 @@

    IProgressService#busyCursorWhile or IProgressService#runInUI. + href="../reference/api/org/eclipse/ui/progress/IProgressService.html#runInUI(org.eclipse.jface.operation.IRunnableContext,org.eclipse.jface.operation.IRunnableWithProgress,org.eclipse.core.runtime.jobs.ISchedulingRule)">IProgressService#runInUI. In addition, the progress view provides access to jobs that are running.


    @@ -161,7 +157,7 @@

    Progress Service

    to run the code that modifies the UI.

    If an operation must be run in its entirety in the UI thread, then IProgressService#runInUI + href="../reference/api/org/eclipse/ui/progress/IProgressService.html#runInUI(org.eclipse.jface.operation.IRunnableContext,org.eclipse.jface.operation.IRunnableWithProgress,org.eclipse.core.runtime.jobs.ISchedulingRule)">IProgressService#runInUI should be used. This method will also display a progress dialog if the operation is blocked and give the user control.

    @@ -189,7 +185,7 @@ 

    Progress Service

    service.registerIconForFamily(newImage, ResourcesPlugin.FAMILY_MANUAL_BUILD); service.registerIconForFamily(newImage, ResourcesPlugin.FAMILY_AUTO_BUILD);
    -

    Showing That a Part is Busy

    +

    Showing That a Part is Busy

    IWorkbenchSiteProgressService @@ -203,7 +199,7 @@

    Showing That a Part is Busy

    (IWorkbenchSiteProgressService)view.getSite().getAdapter(IWorkbenchSiteProgressService.class); siteService.schedule(job, 0 /* now */, true /* use the half-busy cursor in the part */); -

    Progress Properties for Jobs

    +

    Progress Properties for Jobs

    The workbench defines progress-related properties for jobs in IProgressConstants . These can be used to control how a job is shown in the progress @@ -249,7 +245,7 @@

    Workbench Jobs

    href="../reference/api/org/eclipse/swt/widgets/Display.html"> Display. The workbench defines a special job, UIJob, -whose run method runs inside an SWT asyncExec. Subclasses of asyncExec. Subclasses of UIJob should implement the method runInUIThread instead of the run method. diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_menus.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_menus.htm index 34772c9b251..cd302fc33ce 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_menus.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_menus.htm @@ -1,45 +1,48 @@ - + - - - - + Workbench menu contributions +

    Workbench menu contributions

    We've seen several different extension points that contribute to various menus and toolbars in the workbench. How do you know which one to use? The following table summarizes the various menu contributions and their use.

    -
    Namespace Type
    +
    - - - - - -
    +

    Extension point name

    +

    Location of Actions

    +

    Details

    +

    menus

    +

    Commands can be placed in the main menu and toolbar. Command can be placed in part context menus, as well as view menus and view toolbars. The placement @@ -47,7 +50,7 @@

    the visibleWhen core expression.

    +

    The extension point should be used to place commands in menus and toolbars so they can be executed by the user. diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_perspectives.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_perspectives.htm index e79beb362c5..fb2f54d9981 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_perspectives.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_perspectives.htm @@ -1,13 +1,10 @@ - + - - - - - + + Perspectives @@ -82,7 +79,7 @@

    -Linking views and editors with "show-in"

    +Linking views and editors with "show-in" diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_plugin.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_plugin.htm index 2104821d224..2f40c51f0b8 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_plugin.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_plugin.htm @@ -1,12 +1,9 @@ - + - - - - + The plug-in class diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_resources.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_resources.htm index f856357175f..d98e247dc0d 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_resources.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_resources.htm @@ -1,12 +1,9 @@ - + - - - - + Workbench resource support diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_scalability.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_scalability.htm index 55b92dc6258..ead3f2116fd 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_scalability.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_scalability.htm @@ -1,12 +1,9 @@ - + - - - - + Filtering large user interfaces diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling.htm index 1f1fb276b56..800eae851e9 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling.htm @@ -1,11 +1,10 @@ - + - - - - + + + Status handling @@ -16,7 +15,7 @@

    Status Handling

    in the Eclipse based applications to users. The facility can be configured at both the application and the product level. -

    Status Handlers

    +

    Status Handlers

    The handlers are responsible for presenting problems by logging or showing appropriate @@ -153,7 +152,7 @@

    Status Manager

    If any creation error occurs in the product handler, the workbench handler will process this error.

    -

    Acceptable Styles

    +

    Acceptable Styles

    Below is a list of StatusManager styles which can be combined with logical OR:

    @@ -170,7 +169,7 @@

    Acceptable Styles

    -

    StatusAdapter

    +

    StatusAdapter

    The StatusAdapter wraps an instance of IStatus subclass and can hold additional information diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling_defining.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling_defining.htm index 3e03462e6fa..da8abed1f67 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling_defining.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_statushandling_defining.htm @@ -1,13 +1,11 @@ - + - - - - + + + Defining a status handler diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_structure.htm b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_structure.htm index cad5ebcd4f3..38d481e828f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_structure.htm +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/guide/workbench_structure.htm @@ -1,12 +1,9 @@ - + - - - - + Workbench under the covers @@ -27,7 +24,7 @@

    We've been using the term workbench loosely to refer to "that window that opens when you start the platform." Let's drill down a little and look at some of the visual components that make up the workbench.

    -Workbench with three views and one editor on a page +Workbench with three views and one editor on a page

    For the rest of this discussion, when we use the term workbench, we will be referring to the workbench window (IWorkbenchWindow). The workbench window is the top-level window in a workbench. It is the frame that holds the menu bar, @@ -61,7 +58,7 @@

    - + Views and editors

    Views and editors are where we move beyond implementation details into some common plug-in programming. When you add a visual component to the workbench, you must decide whether you want to implement a view or