You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NewClassCreationWizardPage page = new NewClassCreationWizardPage();
the WizardPage is designed to live inside the Wizard. Please have a closer look to the surrounding code, where should be a Wizard that instantiates this page. What you need to "emulate" the result of wizard work is the content of its "performFinish()" method.
But the same result (only see first showMessageDialog).
In fact I don't need Wizard popup window. I just need to have a simple way to create .h and .cpp files. If possible, please give me a almost there snipet.
I modified DiagramFileHandler in an added function which is to the effect:
JOptionPane.showMessageDialog( null, "generateAClass" );
NewClassCreationWizardPage page = new NewClassCreationWizardPage();
JOptionPane.showMessageDialog( null, classname );
I ran in Eclipse plugin mode and seems to me the plugin hang at new NewClassCreationWizardPage();
If I remove the 2nd line, I can see both prompts. Do I need to change plugin.xml under umlet-eclipse-plugin?
The text was updated successfully, but these errors were encountered: