当前位置: 首页>>代码示例>>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;未经允许,请勿转载。