[ANN] Wizard plugin 0.4 (build #181)

Hello,

I created version, that can be "initial" version of wizard plugin. This
plugin enable "wizardry" in IDEA. Sometimes, you will need for any templates
of projects in your company, or some specific code classes for your team or
yourself.

For example, maybe someone know, where are project template for plugin
development (avaible in wiki), so with wizard plugin creation of such
"templates" projects will be easy and more flexeble.

Wizard plugin supports for adding custom wizards to wizardry. The mechanizm
of wizards creation and activation is similar for IDEA plugins mechanizm.
For documentation and sources, you can look at wiki page
(http://www.intellij.org/twiki/bin/view/Main/WizardPlugin,
http://www.intellij.org/twiki/bin/view/Main/WizardPluginDev). Now wizard
provided only one simple project creation wizard, and it can be used as
sample.

I planed increasing of area of avaible plugins, so, if you have any ideas
for adding wizards to IDEA, please let me know. For example, i will be
adding plugin template wizard at least. Any help are always welcome.

Plugin now avaible from Plugin Manager. It used onoffisial API and might be
work only with IDEA build #1126. This version is "developers-oriented",
becouse not new useful features you can find in this version, but everyone
developer can already try to add custom wizards and also share it :)

Thank you!


9 comments
Comment actions Permalink

This sounds like a great idea (sic).

--
Norris Shelton
Web Developer
Sun Certified Java Programmer


"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:bvalu9$mlb$1@is.intellij.net...

Hello,

>

I created version, that can be "initial" version of wizard plugin. This
plugin enable "wizardry" in IDEA. Sometimes, you will need for any

templates

of projects in your company, or some specific code classes for your team

or

yourself.

>

For example, maybe someone know, where are project template for plugin
development (avaible in wiki), so with wizard plugin creation of such
"templates" projects will be easy and more flexeble.

>

Wizard plugin supports for adding custom wizards to wizardry. The

mechanizm

of wizards creation and activation is similar for IDEA plugins mechanizm.
For documentation and sources, you can look at wiki page
(http://www.intellij.org/twiki/bin/view/Main/WizardPlugin,
http://www.intellij.org/twiki/bin/view/Main/WizardPluginDev). Now wizard
provided only one simple project creation wizard, and it can be used as
sample.

>

I planed increasing of area of avaible plugins, so, if you have any ideas
for adding wizards to IDEA, please let me know. For example, i will be
adding plugin template wizard at least. Any help are always welcome.

>

Plugin now avaible from Plugin Manager. It used onoffisial API and might

be

work only with IDEA build #1126. This version is "developers-oriented",
becouse not new useful features you can find in this version, but everyone
developer can already try to add custom wizards and also share it :)

>

Thank you!

>
>


0
Comment actions Permalink

good idea...

got this after saying "yes" to "do you want to create this directory" dialog.

Error message: Showing of modal dialog is prohibited inside write-action, modalityState=ModalityState:com.intellij.openapi.ui.DialogWrapper$MyDialog[dialog1,291,379,815x291,invalid,layout=java.awt.BorderLayout,modal,title=Empty Project,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.ui.DialogWrapper$7[,4,21,807x266,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:41)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:278)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:52)
at com.intellij.ide.j.f.a(f.java:49)
at org.intellij.wizard.util.UnofficialAPI$1.run(UnofficialAPI.java:33)
at com.intellij.openapi.application.b.b.runWriteAction(b.java:17)
at org.intellij.wizard.util.UnofficialAPI.openProject(UnofficialAPI.java:26)
at org.intellij.wizard.impl.project.WizardAdapter.finish(WizardAdapter.java:130)
at org.intellij.wizard.Wizard.finish(Wizard.java:229)
at org.intellij.wizard.WizardExpert.doOKAction(WizardExpert.java:58)
at com.intellij.ide.util.AbstractExpert.access$000(AbstractExpert.java:31)
at com.intellij.ide.util.AbstractExpert$5.actionPerformed(AbstractExpert.java:2)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:140)
at com.intellij.ide.q.a(q.java:75)
at com.intellij.ide.q.dispatchEvent(q.java:111)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.ui.DialogWrapper$MyDialog.show(DialogWrapper.java:12)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:26)
at org.intellij.wizard.WizardPanel$2.run(WizardPanel.java:142)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:140)
at com.intellij.ide.q.a(q.java:97)
at com.intellij.ide.q.dispatchEvent(q.java:111)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

Thanks for report,
I will fix it in next wizard release. To suppress it, you can test wich no
opened project.

WBR,
Alexey Efimov


0
Comment actions Permalink

thanks... that works... however, if I go to "file -> template project settings" idea reports an error and blames your plugin even though I don't see any of your code in the trace... here is the exception:

Error message: Assertion failed
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:61)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:51)
at com.intellij.openapi.wm.impl.WindowManagerImpl.a(WindowManagerImpl.java:120)
at com.intellij.openapi.wm.impl.n.b(n.java:127)
at com.intellij.openapi.wm.impl.WindowManagerImpl.suggestParentWindow(WindowManagerImpl.java:125)
at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:276) at com.intellij.openapi.options.a.g.]]>(g.java:116)
at com.intellij.ide.actions.c.c(c.java:12)
at com.intellij.ide.actions.c.a(c.java:20)
at com.intellij.ide.actions.dp.actionPerformed(dp.java:2)
at com.intellij.openapi.actionSystem.a.n$b_.actionPerformed(n$b_.java:4)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at com.intellij.openapi.actionSystem.a.n.fireActionPerformed(n.java:13)
at com.intellij.ui.c.a.h.doClick(h.java:18)
at com.intellij.ui.c.a.h.access$300(h.java:132)
at com.intellij.ui.c.a.h$a_.mouseReleased(h$a_.java:7)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at com.intellij.ide.q.b(q.java:140)
at com.intellij.ide.q.a(q.java:75)
at com.intellij.ide.q.dispatchEvent(q.java:111)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0
Comment actions Permalink

I think it's not from Wizard plugin,
see http://www.intellij.net/tracker/idea/viewSCR?publicId=28093

If you see "It's plugin exception" on this trace assertion dialog button, please describe, how i can reproduce it.

Thank you!

0
Comment actions Permalink

it does say "plugin exception"... then when you click "remove bad plugin" button, it asks "are you sure you want to remove plugin 'Wizard'?"... I didn't think it looked like a Wizard problem from the stack... but since idea thinks it's Wizard's fault I thought I'd mention it.

0
Comment actions Permalink

I installed the Wizard Plugin 0.5.3 in IntelliJ 4.5.0, but by clicking on the menu "File->Wizard..." nothing happens... what's wrong?

0
Comment actions Permalink

tried also on IntelliJ 4.5.1 with no success...

0
Comment actions Permalink

It used onoffisial API and might be
work only with IDEA build #1126.

I hope, i'll try to continue work on it soon...

0

Please sign in to leave a comment.