Jump to: navigation, search

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

m
Line 1: Line 1:
 
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>.
 
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>.
 
  
 
== See Also: ==
 
== See Also: ==
 
+
* org.eclipse.ui.perspectiveExtensions (See [http://help.eclipse.org/help31/index.jsp Platform Plug-in Developer's Guide])
org.eclipse.ui.perspectiveExtensions (See '''Platform Plug-in Developer's Guide''')
+
* [http://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html Using Perspectives in the Eclipse UI]
 
+
Eclipse online article
+
[http://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html Using Perspectives in the Eclipse UI]
+
  
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Revision as of 21:53, 8 May 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:


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.