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.

Bug 26475

Summary: default doubleclick action of RefObjectLook
Product: java Reporter: Felix Schmid <fschmid>
Component: UnsupportedAssignee: David Strupl <dstrupl>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: Other   
OS: Other   
Issue Type: TASK Exception Reporter:
Attachments: patch to fix doubleclick behaviour of RefObjectLook

Description Felix Schmid 2002-08-13 14:58:33 UTC
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;
      
}
Comment 1 Felix Schmid 2002-08-14 09:16:31 UTC
Created attachment 7095 [details]
patch to fix doubleclick behaviour of RefObjectLook
Comment 2 David Strupl 2010-09-23 09:13:55 UTC
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.