当前位置: 首页>>代码示例>>Java>>正文


Java CommandRequest类代码示例

本文整理汇总了Java中org.geomajas.command.CommandRequest的典型用法代码示例。如果您正苦于以下问题:Java CommandRequest类的具体用法?Java CommandRequest怎么用?Java CommandRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CommandRequest类属于org.geomajas.command包,在下文中一共展示了CommandRequest类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setRequest

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
protected void setRequest(CommandRequest request) {
	if (request instanceof SearchFeatureRequest || request instanceof SearchByLocationRequest) {
		this.request = request;
	} else {
		throw new IllegalArgumentException(
				"Please provide a request (SearchFeatureRequest or SearchByLocationRequest)");
	}
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:9,代码来源:ExportSearchToCsvHandler.java

示例2: getRequest

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
protected CommandRequest getRequest() {
	return request;
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt,代码行数:4,代码来源:ExportSearchToCsvHandler.java

示例3: getEmptyCommandRequest

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
@Override
public CommandRequest getEmptyCommandRequest() {
	// empty interface anonymous instantiation
	return new CommandRequest() {};
}
 
开发者ID:geomajas,项目名称:geomajas-project-server,代码行数:6,代码来源:SecurityTestCommand.java

示例4: execute

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
@Override
public void execute(CommandRequest request, CommandResponse response) throws Exception {
	if (test != null) {
		test.run();
	}
}
 
开发者ID:geomajas,项目名称:geomajas-project-server,代码行数:7,代码来源:SecurityTestCommand.java

示例5: getCommandRequest

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
/**
 * Get the specific request for the command you wish to execute.
 *
 * @return request object for command
 */
public CommandRequest getCommandRequest() {
	return commandRequest;
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt2,代码行数:9,代码来源:GwtCommand.java

示例6: setCommandRequest

import org.geomajas.command.CommandRequest; //导入依赖的package包/类
/**
 * Set the specific request for the command you wish to execute.
 * 
 * @param commandRequest request object
 */
public void setCommandRequest(CommandRequest commandRequest) {
	this.commandRequest = commandRequest;
}
 
开发者ID:geomajas,项目名称:geomajas-project-client-gwt2,代码行数:9,代码来源:GwtCommand.java


注:本文中的org.geomajas.command.CommandRequest类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。