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 - [action_27868] Make interface for cloning actions according to context (lookup).
Summary: [action_27868] Make interface for cloning actions according to context (lookup).
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks: 27868
  Show dependency tree
 
Reported: 2002-12-09 17:05 UTC by Peter Zavadsky
Modified: 2008-12-22 17:55 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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