MenthorTools / menthor-editor

Menthor Editor
30 stars 7 forks source link

Open Element from Project Browser when No Diagram is Opened #85

Closed tgoprince closed 8 years ago

tgoprince commented 8 years ago

An exception is thrown when double clicking an element in the project browser when no diagram is opened or the current pane shows the Welcome Tab or an OCL Editor tab.

tgoprince commented 8 years ago
Caused by: java.lang.NullPointerException
    at net.menthor.editor.v2.managers.OccurenceManager.getDiagramElement(OccurenceManager.java:220)
    at net.menthor.editor.v2.managers.EditManager.callClassDialog(EditManager.java:191)
    at net.menthor.editor.v2.managers.EditManager.openDialog(EditManager.java:199)
    at net.menthor.editor.v2.managers.EditManager.edit(EditManager.java:85)