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

From Eclipsepedia

Jump to: navigation, search
(See Also:)
(See Also:)
 
(3 intermediate revisions by 3 users not shown)
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>.
+
 
+
  
 
== See Also: ==
 
== See Also: ==
 +
* org.eclipse.ui.perspectiveExtensions (See [http://help.eclipse.org/help31/index.jsp Platform Plug-in Developer's Guide])
 +
* [http://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html Using Perspectives in the Eclipse UI]
  
org.eclipse.ui.perspectiveExtensions (See '''Platform Plug-in Developer's Guide''')
+
{{Template:FAQ_Tagline}}
 
+
Eclipse online article <a href="http://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html">Using Perspectives in the Eclipse UI</a>
+
 
+
<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>
+

Latest revision as of 13:58, 30 May 2013

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.

[edit] 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.