|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.emf.type.core.requests.AbstractEditCommandRequest
public abstract class AbstractEditCommandRequest
Abstract superclass for edit command requests.
Field Summary |
---|
Fields inherited from interface org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest |
---|
REPLACE_DEFAULT_COMMAND |
Constructor Summary | |
---|---|
protected |
AbstractEditCommandRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
Initializes me with the editing domain in which I am requesting to make model changes. |
Method Summary | |
---|---|
void |
addParameters(java.util.Map newParameters)
Adds of the parameter values in newParameters to this
request. |
IClientContext |
getClientContext()
Gets the client context for this request. |
protected java.lang.String |
getDefaultLabel()
Gets the default edit command label. |
org.eclipse.emf.transaction.TransactionalEditingDomain |
getEditingDomain()
Gets the editing domain in which I am requesting to make model changes. |
java.util.List |
getElementsToEdit()
Gets the elements that will be changed when the work is done for this request. |
java.lang.String |
getLabel()
Gets the edit command label. |
java.lang.Object |
getParameter(java.lang.String parameterName)
Gets the value of the parameter named parameterName . |
java.util.Map |
getParameters()
Gets the parameters associated with this request. |
void |
setClientContext(IClientContext clientContext)
Sets the client context for this request. |
void |
setEditingDomain(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
Sets the editing domain. |
void |
setLabel(java.lang.String label)
Sets the edit command label. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object value)
Sets the value of the parameter named parameterName to
value . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest |
---|
getEditHelperContext |
Constructor Detail |
---|
protected AbstractEditCommandRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
editingDomain
- the editing domain in which I am requesting to make model
changes.Method Detail |
---|
public org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
IEditCommandRequest
getEditingDomain
in interface IEditCommandRequest
public java.lang.String getLabel()
getLabel
in interface IEditCommandRequest
protected java.lang.String getDefaultLabel()
public void setLabel(java.lang.String label)
label
- the new labelpublic java.util.List getElementsToEdit()
IEditCommandRequest
getElementsToEdit
in interface IEditCommandRequest
public java.lang.Object getParameter(java.lang.String parameterName)
parameterName
.
getParameter
in interface IEditCommandRequest
parameterName
- the parameter name
null
if the parameter
value is not set.public void setParameter(java.lang.String parameterName, java.lang.Object value)
parameterName
to
value
.
setParameter
in interface IEditCommandRequest
parameterName
- the parameter namevalue
- the parameter valuepublic void addParameters(java.util.Map newParameters)
newParameters
to this
request.
addParameters
in interface IEditCommandRequest
newParameters
- the parameters to addpublic java.util.Map getParameters()
getParameters
in interface IEditCommandRequest
public void setClientContext(IClientContext clientContext)
IEditCommandRequest
setClientContext
in interface IEditCommandRequest
clientContext
- the client contextpublic IClientContext getClientContext()
IEditCommandRequest
getClientContext
in interface IEditCommandRequest
public void setEditingDomain(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)
editingDomain
- the editing domain in which I am requesting to make model
changes.
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.