[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] perspectiveExtensions newWizardShort + addShowViewShortcut problem
|
- From: "Youmm P." <kototamo@xxxxxxxxx>
- Date: Tue, 04 Dec 2007 12:47:49 +0100
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.6 (X11/20070728)
Hello,
I defined a newWizardShortcut and a perspective with a perspective
factory like that:
public void createInitialLayout (IPageLayout layout)
{
layout.addShowViewShortcut("org.eclipse.ui.navigator.ProjectExplorer");
}
The problem is that the shortcut for the project wizard only appears in
this perspective when the layout.addShowViewShortcut method is not called!!
Any ideas?
----
I give here the the full plugin.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.newWizards">
<category
name="MyWizard"
id="testfilewizard.MyWizard.category">
</category>
<wizard
name="NewOpenSpliceProject"
category="testfilewizard.MyWizard.category"
id="MyWizardID"
class="testfilewizard.MyWizard"
project="true"
>
</wizard>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="*">
<newWizardShortcut id="MyWizardID"/>
</perspectiveExtension>
</extension>
</plugin>