Browse Source

REPORT-98536 fvs替换frm-设计器变更 - 去掉新建决策报表快捷键

feature/x
Bruce.Deng 1 year ago
parent
commit
abfb3464b1
  1. 8
      designer-form/src/main/java/com/fr/design/actions/NewFormAction.java

8
designer-form/src/main/java/com/fr/design/actions/NewFormAction.java

@ -6,16 +6,12 @@ import com.fr.design.widget.ui.designer.NewFormPane;
import javax.swing.KeyStroke;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import static com.fr.design.gui.syntax.ui.rtextarea.RTADefaultInputMap.DEFAULT_MODIFIER;
public class NewFormAction extends UpdateAction {
public NewFormAction() {
this.setMenuKeySet(NEW_FORM);
this.setName(getMenuKeySet().getMenuKeySetName());
this.setMnemonic(getMenuKeySet().getMnemonic());
this.setName(getMenuKeySet().getMenuName());
this.setSmallIcon("/com/fr/design/images/buttonicon/new_form3");
this.setAccelerator(getMenuKeySet().getKeyStroke());
}
@ -33,7 +29,7 @@ public class NewFormAction extends UpdateAction {
public static final MenuKeySet NEW_FORM = new MenuKeySet() {
@Override
public char getMnemonic() {
return 'F';
return 0;
}
@Override

Loading…
Cancel
Save