All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.ide.spl.ToolBarBase Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20241126
Show newest version
package com.scudata.ide.spl;

import com.scudata.ide.common.AppToolBar;
import com.scudata.ide.common.GC;
import com.scudata.ide.common.GM;

/**
 * ??????????????ҳ??򿪣?
 *
 */
public class ToolBarBase extends AppToolBar {
	private static final long serialVersionUID = 1L;

	/**
	 * ???캯??
	 */
	public ToolBarBase() {
		super();
		add(getCommonButton(GC.iNEW, GC.NEW));
		add(getCommonButton(GC.iOPEN, GC.OPEN));
		setBarEnabled(false);
	}

	/**
	 * ???ù??????Ƿ????
	 */
	public void setBarEnabled(boolean enabled) {
	}

	/**
	 * ִ??????
	 */
	public void executeCmd(short cmdId) {
		try {
			GMSpl.executeCmd(cmdId);
		} catch (Exception e) {
			GM.showException(e);
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy