Jump to: navigation, search

Difference between revisions of "FAQ How can I add my views and actions to an existing perspective?"

m (added a link to referenced article)
Line 1: Line 1:
Use the <tt>org.eclipse.ui.perspectiveExtensions</tt> extension point.
+
Use the <tt>org.eclipse.ui.perspectiveExtensions</tt> extension point. This extension point allows a third party to define the position of views in another plug-in&#146;s perspective.  This extension point can also be used to add actions to the menus and toolbars.  An interesting attribute of this extension point is that it is purely declarative.  No Java code is associated with a perspective extension; it is purely XML markup.  The mechanics of writing perspective extensions are well described in the <i>Platform Plug-in Developer&#146;s Guide</i>.
This extension point allows a third party to define the position of views in
+
another plug-in&#146;s perspective.  This extension point  
+
can also be used to add actions to the
+
menus and toolbars.  An interesting attribute of this extension point
+
is that it is purely declarative.  No Java code is associated with
+
a perspective extension; it is purely XML markup.  The mechanics
+
of writing perspective extensions are well described in the  
+
<i>Platform Plug-in Developer&#146;s Guide</i>.
+
  
  

Revision as of 10:07, 26 January 2007

Use the org.eclipse.ui.perspectiveExtensions extension point. This extension point allows a third party to define the position of views in another plug-in’s perspective. This extension point can also be used to add actions to the menus and toolbars. An interesting attribute of this extension point is that it is purely declarative. No Java code is associated with a perspective extension; it is purely XML markup. The mechanics of writing perspective extensions are well described in the Platform Plug-in Developer’s Guide.


See Also:

org.eclipse.ui.perspectiveExtensions (See Platform Plug-in Developer's Guide)

Eclipse online article Using Perspectives in the Eclipse UI


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.