Contributing to a developerWorks wiki
Today I entered the IBM wiki world by contributing to the Composite Application wiki over at developerWorks. It all started with me having to figure out how to add menu items to the menu of a sideshelf component. I found the answer in the wiki (for those interested it's quite easy using the org.eclipse.ui.viewActions extension point). What I didn't find was an example of how to programmatically add actions which I also needed so once I figured it out I added the information to the wiki. Programmatically adding actions is useful if you don't know which actions to add at compile and/or deployment time.
So if you go to the page on creating sideshelf components you'll find a section on programmatically adding actions.
I really like the idea of the wikis and I really feel good after having contributed. Get some, give some.
P.S.: I know I'm still way behind blogging on my holiday compared to Ed Brill... :-)
Re: Contributing to a developerWorks wiki
Tried to create a sideshelf component by following your directions on the wiki, but I'm stuck at the point where I need to create a new view:
"Right click the view extension and create a new view"
The problem is that I simply do not have a right click menu option to create a new view. When I right click "org.eclipse.ui.views" I only have the following possibilities: New --> Generic, Extension.
Any ideas?
Torben
Re: Contributing to a developerWorks wiki
Since your next question is probably what the plugin.xml should like afterwards I have inserted a complete example below.
<extension point="com.ibm.rcp.ui.shelfViews">
<shelfView
id="com.example.view.MainViewPart"
page="RIGHT"
region="TOP"
showTitle="true"
allowMultiple="true"
view="com.exmaple.view.MainViewPart"/>
</extension>
Re: Contributing to a developerWorks wiki
<extension point="org.eclipse.ui.views">
<category name="Category title" id="com.example" />
<view
category="com.example"
class="com.example.view.MainViewPart"
icon="images/icon.gif"
id="com.example.view.MainViewPart"
allowMultiple="true"
name="Some title"/>
</extension>




