action-composed popup menu. BLD200202010100
authormkleint@netbeans.org
Wed, 30 Jan 2002 22:08:27 +0000
changeset 202941eb39eae294
parent 2028 64b9c0051087
child 2030 ddb302ef1a9d
action-composed popup menu.
the definition of the menu is in default filesystem, the CvsClientMenu class was replaced by CollectionAction, that
is composed by the CommandActions. This allows user-defined popup menu.
vcscore/src/org/netbeans/modules/vcscore/actions/GeneralCommandAction.java
     1.1 --- a/vcscore/src/org/netbeans/modules/vcscore/actions/GeneralCommandAction.java	Tue Jan 29 14:38:16 2002 +0000
     1.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/actions/GeneralCommandAction.java	Wed Jan 30 22:08:27 2002 +0000
     1.3 @@ -386,6 +386,13 @@
     1.4          map.put(supporter, set);
     1.5      }
     1.6      
     1.7 +
     1.8 +    /**
     1.9 +     * The action performs it's job on the activated nodes..
    1.10 +     */
    1.11 +    public void performAction() {
    1.12 +        performAction(getActivatedNodes());
    1.13 +    }    
    1.14      
    1.15  
    1.16