[kepler-dev] [Bug 5623] New: Outline tab context menu problems

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Jun 11 14:20:05 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5623

             Bug #: 5623
           Summary: Outline tab context menu problems
    Classification: Unclassified
           Product: Kepler
           Version: trunk
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org


When you change to the Outline tab, and expand an actor's tree and right-click
on one of the actor's ports, attributes, or relations, you get the same context
menu that you see when you right-click on the actor itself: View Documentation
and Show on Canvas. Neither makes sense for an attribute, and for a relation,
View Documentation doesn't make sense. 
An exception is also thrown on the console (below). 

View Documentation does nothing, even if the port or relation has
documentation. 

For a port, Show on Canvas opens the actor's source code and gives an error,
e.g.: Could not find location for .Unnamed1.String.Constant.output.
For a relation or attribute, Show on Canvas gives a warning and doesn't change
the workflow position.

Also, simply right-clicking on an attribute seems to create two child
attributes: derivedFrom and entityId.


java.lang.Exception: Object must be a NamedObj
    at
org.kepler.gui.popups.NoLiidLibraryPopup.<init>(NoLiidLibraryPopup.java:103)
    at
org.kepler.gui.popups.OutlineComponentPopup.<init>(OutlineComponentPopup.java:54)
    at
org.kepler.gui.popups.OutlinePopupListener.handlePopupOutsideKar(OutlinePopupListener.java:91)
    at
org.kepler.gui.popups.OutlinePopupListener.maybeShowPopup(OutlinePopupListener.java:149)
    at
org.kepler.gui.popups.OutlinePopupListener.mouseReleased(OutlinePopupListener.java:72)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6375)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6140)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4737)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4565)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    at java.awt.Container.dispatchEventImpl(Container.java:2127)
    at java.awt.Window.dispatchEventImpl(Window.java:2482)
    at java.awt.Component.dispatchEvent(Component.java:4565)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
    at java.awt.EventQueue.access$000(EventQueue.java:85)
    at java.awt.EventQueue$1.run(EventQueue.java:643)
    at java.awt.EventQueue$1.run(EventQueue.java:641)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:657)
    at java.awt.EventQueue$2.run(EventQueue.java:655)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list