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 29416

Summary: [action_27868] Make interface for cloning actions according to context (lookup).
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: ActionsAssignee: Peter Zavadsky <pzavadsky>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 27868    

Description Peter Zavadsky 2002-12-09 17:05:38 UTC
Instead of using put/getValue with "actionClone"
key, to use interface which the relevant actions
implement, suggestion:

package org.openide.actions;

public interface ActionCloneable {
      public Action clone(Lookup actionContext); 
}
Comment 1 Peter Zavadsky 2002-12-10 10:04:24 UTC
Fixed in [action_27868] branch.

openide/src/org/openide/actions/Attic/ActionCloneable.java 1.1.2.1
openide/src/org/openide/actions/FileSystemAction.java 1.36.28.3
openide/src/org/openide/actions/NewAction.java 1.37.28.5
openide/src/org/openide/actions/NewTemplateAction.java 1.64.20.4
openide/src/org/openide/actions/PropertiesAction.java 1.26.28.4
openide/src/org/openide/actions/ToolsAction.java 1.38.28.3
openide/src/org/openide/actions/PasteAction.java 1.37.28.9
openide/src/org/openide/util/Utilities.java 1.101.6.5
openide/src/org/openide/util/actions/CallbackSystemAction.java 1.21.84.8
openide/src/org/openide/util/actions/NodeAction.java 1.35.32.4