Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Export plugin
Export plugin [message #335801] Thu, 30 April 2009 14:29
saminda is currently offline samindaFriend
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
Previous Topic:Export plugin
Next Topic:Key binding sequence in label
Goto Forum:
  


Current Time: Sat Dec 20 14:26:01 GMT 2014

Powered by FUDForum. Page generated in 0.01793 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software