[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: unable to add view to an extension in Eclipse 3.1
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Thu, 24 Nov 2005 11:42:37 +0100
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Orestis Markou wrote:
I have the exact same problem... Did you find out the plugins to add ?
First some recapitulation to ensure everyone of us has the same level:
- Open Plugin editor of the plugin.xml of the project, which wants to
provide a new view (Double-click plugin.xml)
- Goto tab "Dependencies" and add the required plug-ins
org.eclipse.core.runtime
org.eclipse.ui
if they are not already there. This step must be done, **before** you
define your ext. pt, otherwise you will not have much success!
- Goto tab "Extensions", choose "Add.." and select
"org.eclipse.ui.views". Now a new item "org.eclipse.ui.views" should be
visible in the list.
- Right-click on the selected item, choose "New > view". Now a new sub
element below the "org.eclipse.ui.views" element should have occured.
- Click on that new element and you will see a lot of edit fields on the
right of the list. One of these items has name "class*". You can click
on the "class*" label and you are ready to define a new view class.
Note that you only have to define the necessary stuff of that ext. pt.
(the book will tell you, which). The RCP framework ensures
creation/representation issues automatically.
Greetings from Bremen,
Daniel Krügler