Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

FAQ How do I create my own view?

Revision as of 16:23, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The simplest way is to use the PDE wizard to create a view example and go from there. Select File > New > Other... > Plug-in Development > Plug-in Project, and choose a name and ID for your plug-in. Then, in the plug-in code generator wizard page, choose Plug-in with a view. Look at the generated plugin.xml file for the generated extension point code.

To add a view to an existing plug-in, edit your plugin.xml with the Manifest Editor, choose the Extensions tab, click Add..., select Extension Templates, and choose Sample View.

To see how other plug-ins use views, search on the org.eclipse.ui.views extension point in the Search dialog. Choose the Plug-in Search tab, and enter the name of the extension point.


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.

Back to the top