本文整理汇总了Java中org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest.setParameter方法的典型用法代码示例。如果您正苦于以下问题:Java ConfigureRequest.setParameter方法的具体用法?Java ConfigureRequest.setParameter怎么用?Java ConfigureRequest.setParameter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest
的用法示例。
在下文中一共展示了ConfigureRequest.setParameter方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(Transition newElement, IProgressMonitor monitor,
IAdaptable info) throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例2: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(ExternalFactLink newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例3: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(PlayerBinding newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例4: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(FactLink newElement, IProgressMonitor monitor,
IAdaptable info) throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例5: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(SimpleBPMN.SequenceFlow newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例6: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(SimpleBPMN.Association newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例7: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(SimpleBPMN.MessageFlow newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例8: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(DcaseLink001 newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例9: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(DcaseLink002 newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例10: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(DependerLink newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例11: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(DependeeLink newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例12: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(Contribution newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例13: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(DcaseLink004 newElement,
IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例14: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(MeansEnd newElement, IProgressMonitor monitor,
IAdaptable info) throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest())
.getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(
getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest())
.getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE,
getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET,
getTarget());
ICommand configureCommand = elementType
.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
示例15: doConfigure
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; //导入方法依赖的package包/类
/**
* @generated
*/
protected void doConfigure(
edu.toronto.cs.se.modelepedia.icse15_sequencediagram_mavo.SourceLifelineReference newElement,
IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest()).getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest()).getClientContext());
configureRequest.addParameters(getRequest().getParameters());
configureRequest.setParameter(CreateRelationshipRequest.SOURCE, getSource());
configureRequest.setParameter(CreateRelationshipRequest.TARGET, getTarget());
ICommand configureCommand = elementType.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}