?? command.java
字號(hào):
/*
* *****************************************************
* Copyright (c) 2005 IIM Lab. All Rights Reserved.
* Created by xuehao at 2005-10-12
* Contact: zxuehao@mail.ustc.edu.cn
* *****************************************************
*/
package org.indigo.commands;
import org.indigo.gui.Model;
import org.indigo.gui.TableView;
import org.indigo.xml.XmlView;
/**
* 抽象模板任務(wù)對象
* @author wbz
*
*/
public abstract class Command
{
protected String itsPropertyFile=null; //和任務(wù)對應(yīng)的文件路徑。
protected Model itsModel=null;//處理任務(wù)的模式。
protected TableView itsView = null;//用于顯示采集數(shù)據(jù)的table。
protected XmlView itsXmlView = null;//用于存數(shù)據(jù)的xml對象。
public Command( String file )//根據(jù)文件路徑構(gòu)造一個(gè)模板對象。
{
itsPropertyFile = file;
}
public abstract void execute();//模板的執(zhí)行函數(shù)。
public String getTaskName()//獲取任務(wù)名稱
{
return itsPropertyFile;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -