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 RenameAction extends DesignModeAction {
15:
16: private static final long serialVersionUID = 1L;
17:
18: public RenameAction(DesignView view) {
19: super (view);
20:
21: }
22:
23: public void actionPerformed(ActionEvent e) {
24: if (getDesignView().getModel().isReadOnly()) {
25: return;
26: }
27: //FIXME getDesignView().getNameEditor().startEdit(getSelectionModel().getSelectedPattern());
28: }
29: }
|