Export plugin [message #335801] |
Thu, 30 April 2009 14:29 |
saminda![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=samindaw%40gmail.com) Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm an eclipse plugin developer. Recently I was wrote an export wizard
plugin. So trigger the export dialog from the menu and select my export
item listed there and click next. The problem is that if I click previous
to go back to the export dialog it shows a blank dialog. neither the
filter text box nor the tree view of the export methods are shown. I tried
everything to find the problem but so far was unsuccessfull. Here is the
simpler version of the plugin I've tried out.
plugin.xml
-------------
<plugin>
<extension
point="org.eclipse.ui.exportWizards">
<wizard id="test_project" name="test"
class="TestExportWizard">
</wizard>
</extension>
</plugin>
TestExportWizard.java
---------------------
public class TestExportWizard extends Wizard implements IExportWizard{
public void addPages() {
addPage(new TestExportWizardPage("my page"));
}
public boolean performFinish() {
return false;
}
public void init(IWorkbench arg0, IStructuredSelection arg1) {
}
}
TestExportWizardPage.java
-------------------------
public class TestExportWizardPage extends WizardPage{
protected TestExportWizardPage(String pageName) {
super(pageName);
}
public void createControl(Composite arg0) {
//some UI stuff
setControl(arg0);
}
}
Any help is very much appreciated.
Thank you,
Saminda
|
|
|
Powered by
FUDForum. Page generated in 0.02791 seconds