com.scudata.ide.spl.MenuSpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.ide.spl;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.ImageIcon;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;
import com.scudata.common.MessageManager;
import com.scudata.ide.common.AppMenu;
import com.scudata.ide.common.GC;
import com.scudata.ide.common.GM;
import com.scudata.ide.spl.resources.IdeSplMessage;
/**
* ???????˵??????ļ???
*
*/
public class MenuSpl extends AppMenu {
private static final long serialVersionUID = 1L;
/**
* ????????Դ??????
*/
protected MessageManager mm = IdeSplMessage.get();
/**
* ???в˵?
*/
protected JMenu menuRowCol;
/**
* ??ͣ\????ִ?в˵?
*/
protected JMenuItem pauseMenuItem;
/**
* ???캯??
*/
public MenuSpl() {
init();
}
/**
* ??ʼ???˵?
*/
protected void init() {
// ?ļ??˵?
add(getFileMenu());
// ?༭?˵?
add(getEditMenu());
// ????˵?
add(getProgramMenu());
// ???߲˵?
add(getToolMenu());
// ???ڲ˵?
tmpLiveMenu = getWindowMenu();
add(tmpLiveMenu);
// ?????˵?
add(getHelpMenu());
setEnable(getMenuItems(), false);
resetLiveMenu();
}
/**
* ?ļ??˵?
*
* @return ?ļ??˵?
*/
protected JMenu getFileMenu() {
JMenu menu;
JMenuItem menuTemp;
menu = getCommonMenuItem(GCSpl.FILE, 'F', true);
menuTemp = newCommonMenuItem(GC.iNEW, GC.NEW, 'N',
ActionEvent.CTRL_MASK, true);
menu.add(menuTemp);
menuTemp = newCommonMenuItem(GC.iOPEN, GC.OPEN, 'O',
ActionEvent.CTRL_MASK, true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iFILE_REOPEN, GCSpl.FILE_REOPEN, 'R',
GC.NO_MASK, true);
menu.add(menuTemp);
// (char) KeyEvent.VK_F4 ??s??ͻ
menuTemp = newCommonMenuItem(GC.iFILE_CLOSE, GC.FILE_CLOSE, 'W',
ActionEvent.CTRL_MASK);
menu.add(menuTemp);
JMenuItem mClose = newCommonMenuItem(GC.iFILE_CLOSE1, GC.FILE_CLOSE,
(char) KeyEvent.VK_F4, ActionEvent.CTRL_MASK);
mClose.setVisible(false);
menu.add(mClose);
menuTemp = newCommonMenuItem(GC.iFILE_CLOSE_ALL, GC.FILE_CLOSE_ALL,
'C', GC.NO_MASK);
menu.add(menuTemp);
menu.addSeparator();
menu.add(newCommonMenuItem(GC.iSAVE, GC.SAVE, 'S',
ActionEvent.CTRL_MASK, true));
menuTemp = newCommonMenuItem(GC.iSAVEAS, GC.SAVEAS, 'A', GC.NO_MASK,
true);
menu.add(menuTemp);
menuTemp = newCommonMenuItem(GC.iSAVEALL, GC.SAVEALL, 'V', GC.NO_MASK,
true);
menu.add(menuTemp);
// ְ???治??ʾԶ?̹???
menuTemp = newSplMenuItem(GCSpl.iSAVE_FTP, GCSpl.SAVE_FTP, 'P',
GC.NO_MASK, true);
menu.add(menuTemp);
menu.addSeparator();
menu.add(getRecentMainPaths());
menu.add(getRecentFile());
menu.add(getRecentConn());
menu.addSeparator();
menuTemp = newCommonMenuItem(GCSpl.iQUIT, GCSpl.QUIT, 'X', GC.NO_MASK,
true);
menu.add(menuTemp);
return menu;
}
protected JMenu copyMenu, pasteMenu;
/**
* ?༭?˵?
*
* @return ?༭?˵?
*/
protected JMenu getEditMenu() {
JMenu menu = getSplMenuItem(GCSpl.EDIT, 'E', true);
menu.add(newSplMenuItem(GCSpl.iUNDO, GCSpl.UNDO, 'Z',
ActionEvent.CTRL_MASK, true));
JMenuItem menuRedo = newSplMenuItem(GCSpl.iREDO, GCSpl.REDO, 'Y',
ActionEvent.CTRL_MASK, true);
if (GM.isMacOS()) {
KeyStroke ks = KeyStroke.getKeyStroke('Z', ActionEvent.META_MASK
+ ActionEvent.SHIFT_MASK);
menuRedo.setAccelerator(ks);
}
menu.add(menuRedo);
menu.addSeparator();
copyMenu = getSplMenuItem(GCSpl.COPY_MENU, 'C', false);
copyMenu.add(newSplMenuItem(GCSpl.iCOPY, GCSpl.COPY, 'C',
ActionEvent.CTRL_MASK, true));
copyMenu.add(newSplMenuItem(GCSpl.iCOPYVALUE, GCSpl.COPYVALUE, 'C',
ActionEvent.CTRL_MASK + ActionEvent.ALT_MASK));
JMenuItem mi = newSplMenuItem(GCSpl.iCODE_COPY, GCSpl.CODE_COPY, 'C',
ActionEvent.CTRL_MASK + ActionEvent.SHIFT_MASK);
copyMenu.add(mi);
JMenuItem miCopyHtml = newSplMenuItem(GCSpl.iCOPY_HTML,
GCSpl.COPY_HTML, 'C', ActionEvent.ALT_MASK
+ ActionEvent.SHIFT_MASK);
miCopyHtml.setVisible(false); // ????ʾ?˵???ֻ?п?ݼ?
copyMenu.add(miCopyHtml);
copyMenu.add(newSplMenuItem(GCSpl.iCOPY_HTML_DIALOG,
GCSpl.COPY_HTML_DIALOG, 'P', GC.NO_MASK));
copyMenu.add(newSplMenuItem(GCSpl.iCUT, GCSpl.CUT, 'X',
ActionEvent.CTRL_MASK, true));
menu.add(copyMenu);
pasteMenu = getSplMenuItem(GCSpl.PASTE_MENU, 'P', false);
pasteMenu.add(newSplMenuItem(GCSpl.iPASTE, GCSpl.PASTE, 'V',
ActionEvent.CTRL_MASK, true));
pasteMenu.add(newSplMenuItem(GCSpl.iPASTE_ADJUST, GCSpl.PASTE_ADJUST,
'V', ActionEvent.CTRL_MASK + ActionEvent.ALT_MASK));
pasteMenu.add(newSplMenuItem(GCSpl.iPASTE_SPECIAL, GCSpl.PASTE_SPECIAL,
'V', ActionEvent.CTRL_MASK + ActionEvent.SHIFT_MASK));
menu.add(pasteMenu);
JMenu temp = getSplMenuItem(GCSpl.INSERT, 'I', false);
temp.add(newSplMenuItem(GCSpl.iCTRL_ENTER, GCSpl.INSERT_ROW,
(char) KeyEvent.VK_ENTER, ActionEvent.CTRL_MASK, true));
temp.add(newSplMenuItem(GCSpl.iDUP_ROW, GCSpl.DUP_ROW,
(char) KeyEvent.VK_ENTER, ActionEvent.CTRL_MASK
+ ActionEvent.ALT_MASK, true));
temp.add(newSplMenuItem(GCSpl.iDUP_ROW_ADJUST, GCSpl.DUP_ROW_ADJUST,
(char) KeyEvent.VK_ENTER, ActionEvent.SHIFT_MASK
+ ActionEvent.ALT_MASK));
temp.add(newSplMenuItem(GCSpl.iINSERT_COL, GCSpl.INSERT_COL, 'C',
GC.NO_MASK, true));
temp.add(newSplMenuItem(GCSpl.iADD_COL, GCSpl.ADD_COL, 'A', GC.NO_MASK,
true));
JMenuItem ctrlInsert = newSplMenuItem(GCSpl.iCTRL_INSERT,
GCSpl.CTRL_INSERT, (char) KeyEvent.VK_INSERT,
ActionEvent.CTRL_MASK);
if (GM.isMacOS()) {
KeyStroke ks = KeyStroke.getKeyStroke('I', ActionEvent.META_MASK);
ctrlInsert.setAccelerator(ks);
}
temp.add(ctrlInsert);
temp.add(newSplMenuItem(GCSpl.iALT_INSERT, GCSpl.ALT_INSERT, 'D',
GC.NO_MASK));
menu.add(temp);
temp = getSplMenuItem(GCSpl.DELETE, 'D', false);
temp.add(newSplMenuItem(GCSpl.iCLEAR, GCSpl.CLEAR,
(char) KeyEvent.VK_DELETE, 0, true));
temp.add(newSplMenuItem(GCSpl.iFULL_CLEAR, GCSpl.FULL_CLEAR,
(char) KeyEvent.VK_DELETE, ActionEvent.ALT_MASK));
temp.add(newSplMenuItem(GCSpl.iDELETE_ROW, GCSpl.DELETE_ROW,
(char) KeyEvent.VK_DELETE, ActionEvent.SHIFT_MASK));
temp.add(newSplMenuItem(GCSpl.iDELETE_COL, GCSpl.DELETE_COL, 'C',
GC.NO_MASK));
temp.add(newSplMenuItem(GCSpl.iCTRL_BACK, GCSpl.CTRL_BACK,
(char) KeyEvent.VK_BACK_SPACE, ActionEvent.CTRL_MASK));
temp.add(newSplMenuItem(GCSpl.iCTRL_DELETE, GCSpl.CTRL_DELETE,
(char) KeyEvent.VK_DELETE, GM.isMacOS() ? ActionEvent.CTRL_MASK
+ ActionEvent.ALT_MASK : ActionEvent.CTRL_MASK));
menu.add(temp);
temp = getSplMenuItem(GCSpl.MOVE_COPY, 'M', false);
temp.add(newSplMenuItem(GCSpl.iMOVE_COPY_UP, GCSpl.MOVE_COPY_UP,
(char) KeyEvent.VK_UP, GM.isMacOS() ? ActionEvent.META_MASK
: ActionEvent.ALT_MASK));
temp.add(newSplMenuItem(GCSpl.iMOVE_COPY_DOWN, GCSpl.MOVE_COPY_DOWN,
(char) KeyEvent.VK_DOWN, GM.isMacOS() ? ActionEvent.META_MASK
: ActionEvent.ALT_MASK));
temp.add(newSplMenuItem(GCSpl.iMOVE_COPY_LEFT, GCSpl.MOVE_COPY_LEFT,
(char) KeyEvent.VK_LEFT, GM.isMacOS() ? ActionEvent.META_MASK
: ActionEvent.ALT_MASK));
temp.add(newSplMenuItem(GCSpl.iMOVE_COPY_RIGHT, GCSpl.MOVE_COPY_RIGHT,
(char) KeyEvent.VK_RIGHT, GM.isMacOS() ? ActionEvent.META_MASK
: ActionEvent.ALT_MASK));
menu.add(temp);
menu.add(newSplMenuItem(GCSpl.iTEXT_EDITOR, GCSpl.TEXT_EDITOR, 'E',
GC.NO_MASK));
menu.add(newSplMenuItem(GCSpl.iNOTE, GCSpl.NOTE, '/',
ActionEvent.CTRL_MASK));
JMenuItem menuTemp = newCommonMenuItem(GC.iTIPS, GC.TIPS, 'T',
GC.NO_MASK);
menu.add(menuTemp);
menu.addSeparator();
menuRowCol = getSplMenuItem(GCSpl.FORMAT, 'O', false);
menuRowCol.add(newSplMenuItem(GCSpl.iROW_HEIGHT, GCSpl.ROW_HEIGHT, 'H',
GC.NO_MASK, true));
menuRowCol.add(newSplMenuItem(GCSpl.iROW_ADJUST, GCSpl.ROW_ADJUST, 'R',
GC.NO_MASK, false));
menuRowCol.add(newSplMenuItem(GCSpl.iROW_HIDE, GCSpl.ROW_HIDE, 'I',
GC.NO_MASK, false));
menuRowCol.add(newSplMenuItem(GCSpl.iROW_VISIBLE, GCSpl.ROW_VISIBLE,
'V', GC.NO_MASK, false));
menuRowCol.add(newSplMenuItem(GCSpl.iCOL_WIDTH, GCSpl.COL_WIDTH, 'W',
GC.NO_MASK, true));
menuRowCol.add(newSplMenuItem(GCSpl.iCOL_ADJUST, GCSpl.COL_ADJUST, 'C',
GC.NO_MASK, false));
menuRowCol.add(newSplMenuItem(GCSpl.iCOL_HIDE, GCSpl.COL_HIDE, 'D',
GC.NO_MASK, false));
menuRowCol.add(newSplMenuItem(GCSpl.iCOL_VISIBLE, GCSpl.COL_VISIBLE,
'S', GC.NO_MASK, false));
menu.add(menuRowCol);
menuTemp = newSplMenuItem(GCSpl.iEDIT_CHART, GCSpl.CHART, 'G',
ActionEvent.ALT_MASK, true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iZOOM, GCSpl.ZOOM, 'L', GC.NO_MASK,
false);
menu.add(menuTemp);
menu.addSeparator();
menu.add(newSplMenuItem(GCSpl.iSEARCH, GCSpl.SEARCH, 'F',
ActionEvent.CTRL_MASK, true));
menu.add(newSplMenuItem(GCSpl.iREPLACE, GCSpl.REPLACE, 'R',
ActionEvent.CTRL_MASK, true));
return menu;
}
/**
* ???߲˵?
*
* @return ???߲˵?
*/
protected JMenu getToolMenu() {
JMenu menu = getSplMenuItem(GCSpl.TOOL, 'T', true);
JMenuItem menuTemp = newCommonMenuItem(GC.iPROPERTY, GC.PROPERTY1, 'D',
GC.NO_MASK);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iCONST, GCSpl.CONST, 'N', GC.NO_MASK);
menu.add(menuTemp);
menu.addSeparator();
menu.add(newCommonMenuItem(GC.iDATA_SOURCE, GC.DATA_SOURCE, 'S',
GC.NO_MASK, true));
JMenuItem miRep = newSplMenuItem(GCSpl.iFILE_REPLACE,
GCSpl.FILE_REPLACE, 'R', GC.NO_MASK);
menu.add(miRep);
menu.addSeparator();
menu.add(newCommonMenuItem(GC.iOPTIONS, GC.OPTIONS, 'O', GC.NO_MASK,
true));
return menu;
}
/**
* ????˵?
*
* @return ????˵?
*/
protected JMenu getProgramMenu() {
JMenu menu = getSplMenuItem(GCSpl.PROGRAM, 'P', true);
JMenuItem menuTemp = newSplMenuItem(GCSpl.iPARAM, GCSpl.PARAM, 'P',
GC.NO_MASK, true);
menu.add(menuTemp);
menu.addSeparator();
menu.add(newSplMenuItem(GCSpl.iRESET, GCSpl.RESET, 'R', GC.NO_MASK));
menu.add(newSplMenuItem(GCSpl.iEXEC, GCSpl.EXEC, (char) KeyEvent.VK_F9,
ActionEvent.CTRL_MASK, true));
menuTemp = newSplMenuItem(GCSpl.iEXE_DEBUG, GCSpl.EXE_DEBUG,
(char) KeyEvent.VK_F9, 0, true);
menu.add(menuTemp);
if (GM.isMacOS()) {
menuTemp = newSplMenuItem(GCSpl.iSTEP_CURSOR, GCSpl.STEP_CURSOR,
(char) KeyEvent.VK_F8, ActionEvent.CTRL_MASK, true);
} else {
menuTemp = newSplMenuItem(GCSpl.iSTEP_CURSOR, GCSpl.STEP_CURSOR,
(char) KeyEvent.VK_F8, 0, true);
}
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iSTEP_NEXT, GCSpl.STEP_NEXT,
(char) KeyEvent.VK_F6, 0, true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iSTEP_INTO, GCSpl.STEP_INTO,
(char) KeyEvent.VK_F5, 0, true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iSTEP_RETURN, GCSpl.STEP_RETURN,
(char) KeyEvent.VK_F7, 0, true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iSTEP_STOP, GCSpl.STEP_STOP, 'D',
GC.NO_MASK, true);
menu.add(menuTemp);
if (GM.isMacOS()) {
pauseMenuItem = newSplMenuItem(GCSpl.iPAUSE, GCSpl.PAUSE,
(char) KeyEvent.VK_F10, ActionEvent.CTRL_MASK, true);
} else {
pauseMenuItem = newSplMenuItem(GCSpl.iPAUSE, GCSpl.PAUSE,
(char) KeyEvent.VK_F10, 0, true);
}
menu.add(pauseMenuItem);
menuTemp = newSplMenuItem(GCSpl.iSTOP, GCSpl.STOP, 'T', GC.NO_MASK,
true);
menu.add(menuTemp);
menuTemp = newSplMenuItem(GCSpl.iBREAKPOINTS, GCSpl.BREAKPOINTS, 'B',
ActionEvent.CTRL_MASK, true);
menu.add(menuTemp);
menu.addSeparator();
// ???ü??㵥Ԫ???????ݼ?ALT-ENTER
JMenuItem calcArea = newSplMenuItem(GCSpl.iCALC_AREA, GCSpl.CALC_AREA,
(char) KeyEvent.VK_ENTER, ActionEvent.ALT_MASK, true);
// calcArea.setVisible(false);
// calcArea.setEnabled(false);
menu.add(calcArea);
menu.add(newSplMenuItem(GCSpl.iCALC_LOCK, GCSpl.CALC_LOCK,
(char) KeyEvent.VK_ENTER, ActionEvent.SHIFT_MASK)); // , true
menu.add(newSplMenuItem(GCSpl.iSHOW_VALUE, GCSpl.SHOW_VALUE,
(char) KeyEvent.VK_F4, 0));
menu.add(newSplMenuItem(GCSpl.iCLEAR_VALUE, GCSpl.CLEAR_VALUE, 'C',
GC.NO_MASK));
menu.addSeparator();
menuTemp = newSplMenuItem(GCSpl.iDRAW_CHART, GCSpl.DRAW_CHART, 'A',
GC.NO_MASK, true);
menu.add(menuTemp);
return menu;
}
/**
* ???????в˵??Ƿ????
*
* @param isEnabled
*/
public void setMenuRowColEnabled(boolean isEnabled) {
menuRowCol.setEnabled(isEnabled);
}
/** ????ִ?? */
private final String S_CONTINUE = mm.getMessage("menu.program.continue");
/** ??ͣ */
private final String S_PAUSE = mm.getMessage("menu.program.pause");
/** ????ִ??ͼ?? */
private final ImageIcon I_CONTINUE = GM.getMenuImageIcon(GCSpl.CONTINUE);
/** ??ͣͼ?? */
private final ImageIcon I_PAUSE = GM.getMenuImageIcon(GCSpl.PAUSE);
/**
* ??????ͣ/????ִ?в˵?????ı???ͼ??
*
* @param isPause ?Ƿ???ͣ??true??ͣ??falseִ??
*/
public void resetPauseMenu(boolean isPause) {
if (isPause) {
pauseMenuItem.setIcon(I_CONTINUE);
pauseMenuItem.setText(S_CONTINUE);
} else {
pauseMenuItem.setIcon(I_PAUSE);
pauseMenuItem.setText(S_PAUSE);
}
}
/**
* ȡ???пɱ?״̬?IJ˵?
*/
public short[] getMenuItems() {
short[] menus = new short[] {
// ?ļ?
GCSpl.iSAVE,
GCSpl.iSAVEAS,
// ?༭
GCSpl.iUNDO, GCSpl.iREDO, GCSpl.iCOPY, GCSpl.iCOPYVALUE,
GCSpl.iCODE_COPY, GCSpl.iCOPY_HTML_DIALOG, GCSpl.iCUT,
GCSpl.iPASTE, GCSpl.iPASTE_ADJUST, GCSpl.iPASTE_SPECIAL,
GCSpl.iADD_COL, GCSpl.iINSERT_COL, GCSpl.iCTRL_ENTER,
GCSpl.iCTRL_INSERT, GCSpl.iALT_INSERT, GCSpl.iDUP_ROW,
GCSpl.iDUP_ROW_ADJUST, GCSpl.iCLEAR, GCSpl.iFULL_CLEAR,
GCSpl.iDELETE_ROW, GCSpl.iDELETE_COL, GCSpl.iCTRL_BACK,
GCSpl.iCTRL_DELETE, GCSpl.iTEXT_EDITOR, GCSpl.iNOTE,
GCSpl.iTIPS, GCSpl.iROW_HEIGHT, GCSpl.iROW_ADJUST,
GCSpl.iROW_HIDE, GCSpl.iROW_VISIBLE, GCSpl.iCOL_WIDTH,
GCSpl.iCOL_ADJUST, GCSpl.iCOL_HIDE, GCSpl.iCOL_VISIBLE,
GCSpl.iEDIT_CHART, GCSpl.iSEARCH,
GCSpl.iREPLACE, GCSpl.iMOVE_COPY_UP,
GCSpl.iMOVE_COPY_DOWN,
GCSpl.iMOVE_COPY_LEFT,
GCSpl.iMOVE_COPY_RIGHT,
// ????
GCSpl.iPARAM, GCSpl.iEXEC, GCSpl.iEXE_DEBUG, GCSpl.iCALC_AREA,
GCSpl.iCALC_LOCK, GCSpl.iSTEP_NEXT, GCSpl.iSTEP_CURSOR,
GCSpl.iSTOP, GCSpl.iSHOW_VALUE, GCSpl.iCLEAR_VALUE,
GCSpl.iPAUSE, GCSpl.iBREAKPOINTS, GCSpl.iDRAW_CHART,
// ????
GC.iPROPERTY, GCSpl.iCONST };
return menus;
}
/**
* ȡ???в˵???
*
* @return
*/
public short[] getAllMenuItems() {
short[] menus = new short[] {
// ?ļ?
GCSpl.iSAVE,
GCSpl.iSAVEAS,
GCSpl.iSAVEALL,
GCSpl.iFILE_REOPEN,
GCSpl.iSAVE_FTP,
// ?༭
GCSpl.iUNDO, GCSpl.iREDO, GCSpl.iCOPY, GCSpl.iCOPYVALUE,
GCSpl.iCODE_COPY, GCSpl.iCOPY_HTML_DIALOG, GCSpl.iCUT,
GCSpl.iPASTE, GCSpl.iPASTE_ADJUST, GCSpl.iPASTE_SPECIAL,
GCSpl.iADD_COL, GCSpl.iCTRL_ENTER, GCSpl.iCTRL_INSERT,
GCSpl.iALT_INSERT, GCSpl.iINSERT_COL, GCSpl.iDUP_ROW,
GCSpl.iDUP_ROW_ADJUST, GCSpl.iCLEAR, GCSpl.iFULL_CLEAR,
GCSpl.iDELETE_ROW, GCSpl.iDELETE_COL, GCSpl.iCTRL_BACK,
GCSpl.iCTRL_DELETE, GCSpl.iTEXT_EDITOR, GCSpl.iNOTE,
GCSpl.iTIPS, GCSpl.iROW_HEIGHT, GCSpl.iROW_ADJUST,
GCSpl.iROW_HIDE, GCSpl.iROW_VISIBLE, GCSpl.iCOL_WIDTH,
GCSpl.iCOL_ADJUST, GCSpl.iCOL_HIDE, GCSpl.iCOL_VISIBLE,
GCSpl.iEDIT_CHART,GCSpl.iZOOM,
GCSpl.iSEARCH,
GCSpl.iREPLACE,
GCSpl.iMOVE_COPY_UP,
GCSpl.iMOVE_COPY_DOWN,
GCSpl.iMOVE_COPY_LEFT,
GCSpl.iMOVE_COPY_RIGHT,
// ????
GCSpl.iPARAM, GCSpl.iEXEC, GCSpl.iEXE_DEBUG, GCSpl.iRESET,
GCSpl.iCALC_AREA, GCSpl.iCALC_LOCK, GCSpl.iSTEP_NEXT,
GCSpl.iSTEP_CURSOR, GCSpl.iSTOP, GCSpl.iSHOW_VALUE,
GCSpl.iCLEAR_VALUE, GCSpl.iPAUSE, GCSpl.iBREAKPOINTS,
GCSpl.iDRAW_CHART,
GC.iPROPERTY, GCSpl.iCONST };
return menus;
}
/**
* ????Դ???Ӻ?
*/
public void dataSourceConnected() {
if (GVSpl.tabParam != null)
GVSpl.tabParam.resetEnv();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy