simpleUML build 5

Changes in build 5 (still pre-alpha)
use on your own risk
tested on #644

new features
-select multiple classes
-keyboard actions
remove selected classes: delete
reload selected classes: F5
select all classes: ctrl-A
scroll diagram: cursor
move selected classes: ctrl-cursor

-filter by modifier (show overrides hide)
-save as image

fixed bugs
-some NPE's

10 comments
Comment actions Permalink

Hi, thanks for adding the auto scroll, but I think that when dragging a
class,
if I use the whell the class should move to stay under the mouse pointer
and I still have an exception when opening a new project.


"Martin Schmid" <til77@hotmail.com> a ?crit dans le message de news:
alg7cd$vmg$1@is.intellij.net...

Changes in build 5 (still pre-alpha)
use on your own risk
tested on #644

>

new features
-select multiple classes
-keyboard actions
remove selected classes: delete
reload selected classes: F5
select all classes: ctrl-A
scroll diagram: cursor
move selected classes: ctrl-cursor

>

-filter by modifier (show overrides hide)
-save as image

>

fixed bugs
-some NPE's

>


0
Comment actions Permalink

hi,

but I think that when dragging a
class,
if I use the whell the class should move to stay under the mouse pointer


added to todo list

and I still have an exception when opening a new project.


Can you send me the stacktrace?

Martin


>
>

"Martin Schmid" <til77@hotmail.com> a ?crit dans le message de news:
alg7cd$vmg$1@is.intellij.net...

Changes in build 5 (still pre-alpha)
use on your own risk
tested on #644

>

new features
-select multiple classes
-keyboard actions
remove selected classes: delete
reload selected classes: F5
select all classes: ctrl-A
scroll diagram: cursor
move selected classes: ctrl-cursor

>

-filter by modifier (show overrides hide)
-save as image

>

fixed bugs
-some NPE's

>

>
>

0
Comment actions Permalink

Hi there,

Very nice piece of work, the features you added in builds 4 & 5 are great!

Here's a stacktrace with some errors I got at some point, after trying to
add a new class (without a loaded diagram). Upon entering an invalid path, I
got a message telling me the class cannot be found, and an "empty-name"
diagram was created. From that point on, trying to add classes to that
diagram resulted in errors. Rename didn't help, the problem went away when I
deleted the diagram.

Regards,
Andrei

ERROR - com.intellij.ide.q - Error during dispatching
of
java.awt.event.MouseEvent[MOUSE_RELEASED,(547,421),button=1,modifiers=Button
1,cl
ickCount=1] on frame0
ERROR - com.intellij.ide.q - IntelliJ IDEA (Ariadna)
3.0
Build #644
ERROR - com.intellij.ide.q - JDK: 1.4.1-rc
ERROR - com.intellij.ide.q - VM: Java HotSpot(TM)
Client
VM
ERROR - com.intellij.ide.q - Vendor: Sun Microsystems
Inc
.
ERROR - com.intellij.ide.q - OS: Windows 2000
ERROR - com.intellij.ide.q -
java.lang.NullPointerException
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedClasses(ViewUML
WindowAction.java:188)
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedClasses(ViewUML
WindowAction.java:196)
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedClasses(ViewUML
WindowAction.java:177)
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedFilesToNamedDia
gram(ViewUMLWindowAction.java:104)
at
net.trustx.myde.plugin.ViewUMLWindowAction.access$200(ViewUMLWindowAc
tion.java:19)
at
net.trustx.myde.plugin.ViewUMLWindowAction$3.actionPerformed(ViewUMLW
indowAction.java:125)
at com.intellij.openapi.actionSystem.a.j.actionPerformed(j.java:1)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
64)
at
com.intellij.openapi.actionSystem.a.z.fireActionPerformed(z.java:44)
at com.intellij.ui.b.a.n.doClick(n.java:2)
at com.intellij.ui.b.a.n.access$300(n.java:200)
at com.intellij.ui.b.a.o.mouseReleased(o.java:1)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.a(q.java:18)
at com.intellij.ide.q.dispatchEvent(q.java:26)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
ERROR - com.intellij.ide.q - Error during dispatching
of
java.awt.event.MouseEvent[MOUSE_RELEASED,(536,469),button=1,modifiers=Button
1,cl
ickCount=1] on frame0
ERROR - com.intellij.ide.q - IntelliJ IDEA (Ariadna)
3.0
Build #644
ERROR - com.intellij.ide.q - JDK: 1.4.1-rc
ERROR - com.intellij.ide.q - VM: Java HotSpot(TM)
Client
VM
ERROR - com.intellij.ide.q - Vendor: Sun Microsystems
Inc
.
ERROR - com.intellij.ide.q - OS: Windows 2000
ERROR - com.intellij.ide.q -
java.lang.NullPointerException
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedClasses(ViewUML
WindowAction.java:188)
at
net.trustx.myde.plugin.ViewUMLWindowAction.addSelectedFilesToNamedDia
gram(ViewUMLWindowAction.java:104)
at
net.trustx.myde.plugin.ViewUMLWindowAction.access$200(ViewUMLWindowAc
tion.java:19)
at
net.trustx.myde.plugin.ViewUMLWindowAction$3.actionPerformed(ViewUMLW
indowAction.java:125)
at com.intellij.openapi.actionSystem.a.j.actionPerformed(j.java:1)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
64)
at
com.intellij.openapi.actionSystem.a.z.fireActionPerformed(z.java:44)
at com.intellij.ui.b.a.n.doClick(n.java:2)
at com.intellij.ui.b.a.n.access$300(n.java:200)
at com.intellij.ui.b.a.o.mouseReleased(o.java:1)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at com.intellij.ide.q.a(q.java:18)
at com.intellij.ide.q.dispatchEvent(q.java:26)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
ERROR - ellij.project.impl.ProjectImpl -
ERROR - ellij.project.impl.ProjectImpl - IntelliJ IDEA (Ariadna)
3.0
Build #644
ERROR - ellij.project.impl.ProjectImpl - JDK: 1.4.1-rc
ERROR - ellij.project.impl.ProjectImpl - VM: Java HotSpot(TM)
Client
VM
ERROR - ellij.project.impl.ProjectImpl - Vendor: Sun Microsystems
Inc
.
ERROR - ellij.project.impl.ProjectImpl - OS: Windows 2000
ERROR - ellij.project.impl.ProjectImpl -
java.lang.NullPointerException
at
net.trustx.myde.plugin.UMLToolWindowPlugin.storeDiagramsOnDisk(UMLToo
lWindowPlugin.java:883)
at
net.trustx.myde.plugin.UMLToolWindowPlugin.access$1500(UMLToolWindowP
lugin.java:41)
at
net.trustx.myde.plugin.UMLToolWindowPlugin$14.run(UMLToolWindowPlugin
.java:858)
at com.intellij.openapi.application.b.d.runWriteAction(d.java:6)
at
net.trustx.myde.plugin.UMLToolWindowPlugin.writeExternal(UMLToolWindo
wPlugin.java:854)
at com.intellij.openapi.components.a.a.a(a.java:79)
at com.intellij.openapi.project.a.c.a(c.java:52)
at com.intellij.openapi.project.a.c.s(c.java:268)
at com.intellij.openapi.project.a.c.save(c.java:262)
at com.intellij.ide.ck.b(ck.java:77)
at com.intellij.ide.ck.a(ck.java:78)
at com.intellij.ide.cl.run(cl.java:4)
at com.intellij.util.q.run(q.java:0)
at com.intellij.util.r.run(r.java:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at com.intellij.ide.q.a(q.java:18)
at com.intellij.ide.q.dispatchEvent(q.java:16)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

ERROR - ellij.project.impl.ProjectImpl -
ERROR - ellij.project.impl.ProjectImpl - IntelliJ IDEA (Ariadna)
3.0
Build #644
ERROR - ellij.project.impl.ProjectImpl - JDK: 1.4.1-rc
ERROR - ellij.project.impl.ProjectImpl - VM: Java HotSpot(TM)
Client
VM
ERROR - ellij.project.impl.ProjectImpl - Vendor: Sun Microsystems
Inc
.
ERROR - ellij.project.impl.ProjectImpl - OS: Windows 2000
ERROR - ellij.project.impl.ProjectImpl -
java.lang.NullPointerException
at
net.trustx.myde.plugin.UMLToolWindowPlugin.storeDiagramsOnDisk(UMLToo
lWindowPlugin.java:883)
at
net.trustx.myde.plugin.UMLToolWindowPlugin.access$1500(UMLToolWindowP
lugin.java:41)
at
net.trustx.myde.plugin.UMLToolWindowPlugin$14.run(UMLToolWindowPlugin
.java:858)
at com.intellij.openapi.application.b.d.runWriteAction(d.java:6)
at
net.trustx.myde.plugin.UMLToolWindowPlugin.writeExternal(UMLToolWindo
wPlugin.java:854)
at com.intellij.openapi.components.a.a.a(a.java:79)
at com.intellij.openapi.project.a.c.a(c.java:52)
at com.intellij.openapi.project.a.c.s(c.java:268)
at com.intellij.openapi.project.a.c.save(c.java:262)
at com.intellij.ide.ck.b(ck.java:77)
at com.intellij.ide.ck.a(ck.java:78)
at com.intellij.ide.cl.run(cl.java:4)
at com.intellij.util.q.run(q.java:0)
at com.intellij.util.r.run(r.java:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at com.intellij.ide.q.a(q.java:18)
at com.intellij.ide.q.dispatchEvent(q.java:16)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

"Martin Schmid" <til77@hotmail.com> wrote in message
news:alg7cd$vmg$1@is.intellij.net...

Changes in build 5 (still pre-alpha)
use on your own risk
tested on #644

>

new features
-select multiple classes
-keyboard actions
remove selected classes: delete
reload selected classes: F5
select all classes: ctrl-A
scroll diagram: cursor
move selected classes: ctrl-cursor

>

-filter by modifier (show overrides hide)
-save as image

>

fixed bugs
-some NPE's

>



0
Comment actions Permalink

"Martin Schmid" <til77@hotmail.com> a ?crit dans le message de news:
alic8b$msi$1@is.intellij.net...

Can you send me the stacktrace?


Sorry I cannot reproduce it. Maybe it was something else


0
Comment actions Permalink

Outstanding job on this plugin!

I have 2 requests:
1) Options to specify diagram file location
2) Go through the VFS interface in order to create/access the diagram files.
This way when they fix this bug
http://www.intellij.net/tracker/idea/viewSCR?publicId=4337 your plugin files
will be managed through the active VCS plugin and sharing diagrams will be a
piece of cake.

Jacques


0
Comment actions Permalink

hi,

1) Options to specify diagram file location


per diagram or per project?
("per project" would simplify things)

2) Go through the VFS interface in order to create/access the diagram

files.

added to todo list

thanks,
Martin


0
Comment actions Permalink

Another nice-to-have: An option to layout on changes (e.g. when expanding a
class or adding new classes).

Locking anchor for classes would also be nice, and there are cases when the
layout creates a strange arrangement with overlapping arrows and a very long
horizontal layout.

Keep it up!

Amnon

"Martin Schmid" <til77@hotmail.com> wrote in message
news:ammtju$dd5$1@is.intellij.net...

hi,

>

1) Options to specify diagram file location

>

per diagram or per project?
("per project" would simplify things)

>
>

2) Go through the VFS interface in order to create/access the diagram

files.

>

added to todo list

>

thanks,
Martin

>
>


0
Comment actions Permalink

1) Options to specify diagram file location

>

per diagram or per project?
("per project" would simplify things)

>
Could have one global default for the project and allow for each diagram to
overwrite it.
In the case of adding an entire package to a diagram, suggest to save the
diagram in that package.
When adding classes to a diagram, select the diagram by browsing the
directory structure, starting from the package of the classes. Have an
option to create a new diagram from there.

My 2c cents


0
Comment actions Permalink

In the case of adding an entire package to a diagram, suggest to save the
diagram in that package.
When adding classes to a diagram, select the diagram by browsing the
directory structure, starting from the package of the classes. Have an
option to create a new diagram from there.


+100

Samanth

"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:amom79$d16$1@is.intellij.net...

1) Options to specify diagram file location

>

per diagram or per project?
("per project" would simplify things)

>
Could have one global default for the project and allow for each diagram

to

overwrite it.
In the case of adding an entire package to a diagram, suggest to save the
diagram in that package.
When adding classes to a diagram, select the diagram by browsing the
directory structure, starting from the package of the classes. Have an
option to create a new diagram from there.

>

My 2c cents

>
>


0
Comment actions Permalink

hi,

Another nice-to-have: An option to layout on changes (e.g. when expanding

a

class or adding new classes).

>

Locking anchor for classes would also be nice


added to todo list

Martin


0

Please sign in to leave a comment.