cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1846) Reworking of callback mapping
Date Sun, 28 Jul 2013 15:39:48 GMT

    [ https://issues.apache.org/jira/browse/CAY-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721976#comment-13721976
] 

Andrus Adamchik commented on CAY-1846:
--------------------------------------

Committed the latest patch. All previously discussed problems are fixed. Found a few more:

1. Doing copy or cut of a callback method results in a popup window with the exception [1]
2. When I delete a selected callback method, the next row in the table should become selected
(if available of course). Check how this works for attributes and relationships.


[1] CayenneModeler Info
Version: 3.2M2-SNAPSHOT
Build Date: ${project.build.date} ${project.build.time}
Exception: 
=================================
java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.cayenne.util.XMLSerializable
	at org.apache.cayenne.modeler.util.CayenneTransferable.getTransferData(CayenneTransferable.java:73)
	at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:957)
	at apple.awt.CDataTransferer.translateTransferable(CDataTransferer.java:117)
	at apple.awt.CClipboard.setContentsNative(CClipboard.java:61)
	at sun.awt.datatransfer.SunClipboard.setContents(SunClipboard.java:93)
	at org.apache.cayenne.modeler.action.CopyAction.performAction(CopyAction.java:94)
	at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6382)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
	at java.awt.Component.processEvent(Component.java:6147)
	at java.awt.Container.processEvent(Container.java:2083)
	at java.awt.Component.dispatchEventImpl(Component.java:4744)
	at java.awt.Container.dispatchEventImpl(Container.java:2141)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	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:2489)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	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$3.run(EventQueue.java:683)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
	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)

                
> Reworking of callback mapping
> -----------------------------
>
>                 Key: CAY-1846
>                 URL: https://issues.apache.org/jira/browse/CAY-1846
>             Project: Cayenne
>          Issue Type: Task
>          Components: Modeler
>    Affects Versions: 3.2M2
>            Reporter: Ilya Vasiuk
>            Priority: Minor
>              Labels: patch
>         Attachments: CAY-1846_after.png, CAY-1846_before.png, CAY-1846_copy_paste.txt,
CAY-1846new.txt, x.png
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> In this patch has been reworking callback mapping from one table to a few. And a little
bit changed the paradigm of actions with methods. Visual changes can be seen in the attached
screenshots.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message