|
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(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. |
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(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(TransactionalEditingDomain editingDomain)
editingDomain - the editing domain in which I am requesting to make model
changes.| Method Detail |
|---|
public TransactionalEditingDomain getEditingDomain()
IEditCommandRequest
getEditingDomain in interface IEditCommandRequestpublic java.lang.String getLabel()
getLabel in interface IEditCommandRequestprotected java.lang.String getDefaultLabel()
public void setLabel(java.lang.String label)
label - the new labelpublic java.util.List getElementsToEdit()
IEditCommandRequest
getElementsToEdit in interface IEditCommandRequestpublic java.lang.Object getParameter(java.lang.String parameterName)
parameterName.
getParameter in interface IEditCommandRequestparameterName - 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 IEditCommandRequestparameterName - the parameter namevalue - the parameter valuepublic void addParameters(java.util.Map newParameters)
newParameters to this
request.
addParameters in interface IEditCommandRequestnewParameters - the parameters to addpublic java.util.Map getParameters()
getParameters in interface IEditCommandRequestpublic void setClientContext(IClientContext clientContext)
IEditCommandRequest
setClientContext in interface IEditCommandRequestclientContext - the client contextpublic IClientContext getClientContext()
IEditCommandRequest
getClientContext in interface IEditCommandRequestpublic void setEditingDomain(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.