當前位置: 首頁>>代碼示例>>Java>>正文


Java Actions類代碼示例

本文整理匯總了Java中com.rapidminer.gui.actions.Actions的典型用法代碼示例。如果您正苦於以下問題:Java Actions類的具體用法?Java Actions怎麽用?Java Actions使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


Actions類屬於com.rapidminer.gui.actions包,在下文中一共展示了Actions類的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: selectMatchingOperator

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
/**
 * This method opens a dialog for selecting one operator fulfilling the given conditions.
 * Conditions not needed must be null.
 *
 * @throws OperatorCreationException
 */
public static Operator selectMatchingOperator(Actions actions, Class<? extends IOObject> inputClass,
		Class<? extends IOObject> outputClass, OperatorCapability firstCapability, OperatorCapability secondCapability)
				throws OperatorCreationException {
	NewOperatorDialog dialog = new NewOperatorDialog(actions, inputClass, outputClass, firstCapability,
			secondCapability, true);
	dialog.setVisible(true);
	if (dialog.wasConfirmed()) {
		return dialog.getOperator();
	}
	return null;
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:18,代碼來源:NewOperatorDialog.java

示例2: selectMatchingOperator

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
/**
 * This method opens a dialog for selecting one operator fulfilling the given conditions.
 * Conditions not needed must be null.
 * @throws OperatorCreationException
 */
public static Operator selectMatchingOperator(Actions actions,  Class<? extends IOObject> inputClass, Class<? extends IOObject> outputClass, OperatorCapability firstCapability, OperatorCapability secondCapability) throws OperatorCreationException {
    NewOperatorDialog dialog = new NewOperatorDialog(actions, inputClass, outputClass, firstCapability, secondCapability, true);
    dialog.setVisible(true);
    if (dialog.wasConfirmed()) {
        return dialog.getOperator();
    }
    return null;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:14,代碼來源:NewOperatorDialog.java

示例3: NewOperatorDialog

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public NewOperatorDialog(Actions actions) {
	this(actions, null, null, null, null, false);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:4,代碼來源:NewOperatorDialog.java

示例4: ToggleBreakpointItem

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public ToggleBreakpointItem(final Actions actions, final int position) {
	super(true, "breakpoint_" + BreakpointListener.BREAKPOINT_POS_NAME[position]);

	this.actions = actions;
	this.position = position;
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:7,代碼來源:ToggleBreakpointItem.java

示例5: ToggleActivationItem

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public ToggleActivationItem(final Actions actions) {
	super(true, "enable_operator");
	this.actions = actions;
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:5,代碼來源:ToggleActivationItem.java

示例6: ToggleAllBreakpointsItem

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public ToggleAllBreakpointsItem(final Actions actions) {
	super(true, "toggle_all_breakpoints");
	this.actions = actions;
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:5,代碼來源:ToggleAllBreakpointsItem.java

示例7: getActions

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public Actions getActions() {
	return actions;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-studio,代碼行數:4,代碼來源:MainFrame.java

示例8: NewOperatorDialog

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public NewOperatorDialog(Actions actions) {
    this(actions, null, null, null, null, false);
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:4,代碼來源:NewOperatorDialog.java

示例9: ToggleActivationItem

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public ToggleActivationItem(final Actions actions) {
    super(true, "enable_operator");
    this.actions = actions;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:5,代碼來源:ToggleActivationItem.java

示例10: SaveBuildingBlockAction

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public SaveBuildingBlockAction(Actions actions) {
    super(true, "save_building_block");
    setCondition(OPERATOR_SELECTED, MANDATORY);
    setCondition(ROOT_SELECTED, DISALLOWED);
    this.actions = actions;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:7,代碼來源:SaveBuildingBlockAction.java

示例11: ToggleAllBreakpointsItem

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public ToggleAllBreakpointsItem(final Actions actions) {
	super(true, "toggle_all_breakpoints");
	this.actions  = actions;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:5,代碼來源:ToggleAllBreakpointsItem.java

示例12: NewBuildingBlockMenu

import com.rapidminer.gui.actions.Actions; //導入依賴的package包/類
public NewBuildingBlockMenu(Actions actions) {
	super("new_building_block");
	this.actions = actions;
}
 
開發者ID:rapidminer,項目名稱:rapidminer-5,代碼行數:5,代碼來源:NewBuildingBlockMenu.java


注:本文中的com.rapidminer.gui.actions.Actions類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。