This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This patch changes the default doubleclick behaviour of the mdrexplorers RefObjectLook. With this patch applied a doubleclick on a RefObject node opens the properties-window instead of triggering the delete-action. I changed the code after accidentially deleting nodes from my model. *** RefObjectLook.java Tue Aug 13 12:51:25 2002 --- RefObjectLook.java.my Tue Aug 13 12:51:08 2002 *************** public class RefObjectLook extends BaseO *** 59,68 **** superActions = new javax.swing.Action[0]; } javax.swing.Action[] actions = new javax.swing.Action[superActions.length + 3]; ! actions[0] = SystemAction.get( DeleteObjectAction.class); ! actions[1] = SystemAction.get(SaveXMIAction.class); ! actions[2] = SystemAction.get(Map2JavaAction.class); ! System.arraycopy(superActions, 0, actions, 3, superActions.length); return actions; } --- 59,69 ---- superActions = new javax.swing.Action[0]; } javax.swing.Action[] actions = new javax.swing.Action[superActions.length + 3]; ! System.arraycopy(superActions, 0, actions, 0, superActions.length); ! actions[superActions.length] = SystemAction.get( DeleteObjectAction.class); ! actions[superActions.length + 1] = SystemAction.get(SaveXMIAction.class); ! actions[superActions.length + 2] = SystemAction.get(Map2JavaAction.class); ! return actions; }
Created attachment 7095 [details] patch to fix doubleclick behaviour of RefObjectLook
I am closing all reports in category Java/Unsupported as wontfix. These should be dead issues --- if the reported cases are against some live part of the NetBeans IDE please reopen and we can discuss to which category they belong.