01: /*
02: * To change this template, choose Tools | Templates
03: * and open the template in the editor.
04: */
05: package org.netbeans.modules.bpel.design.actions;
06:
07: import java.awt.event.ActionEvent;
08: import org.netbeans.modules.bpel.design.DesignView;
09:
10: /**
11: *
12: * @author Alexey
13: */
14: public class ExpandAllPatternsAction extends DesignModeAction {
15:
16: private static final long serialVersionUID = 1L;
17:
18: public ExpandAllPatternsAction(DesignView view) {
19: super (view);
20: /*FIXME
21: super(NbBundle.getMessage(DesignView.class, "LBL_ExpandAll"),
22: new ImageIcon(DesignView.class.getResource("resources/expand_all.png")));
23: putValue(SHORT_DESCRIPTION, NbBundle.getMessage(DesignView.class,
24: "LBL_ExpandAll_Description"));
25: */
26: }
27:
28: public void actionPerformed(ActionEvent event) {
29: getDesignView().getModel().expandAll();
30: }
31: }
|