|
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
org.eclipse.gmf.runtime.emf.type.core.requests.GetEditContextRequest
public class GetEditContextRequest
Request to get the context for editing a model element.
The context is used to obtain the IEditHelper
with which to
perform the editing.
Field Summary |
---|
Fields inherited from interface org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest |
---|
REPLACE_DEFAULT_COMMAND |
Constructor Summary | |
---|---|
GetEditContextRequest(IEditCommandRequest editRequest,
java.lang.Object editHelperContext)
Constructs a new request. |
|
GetEditContextRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
IEditCommandRequest editRequest,
java.lang.Object editHelperContext)
Constructs a new request. |
Method Summary | |
---|---|
IEditCommandRequest |
getEditCommandRequest()
Gets the edit command request for which the edit context is being sought. |
java.lang.Object |
getEditContext()
Gets the requested edit context. |
java.lang.Object |
getEditHelperContext()
Gets the edit helper context for this request. |
void |
setEditContext(java.lang.Object editContext)
Sets the requested edit context. |
Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.requests.AbstractEditCommandRequest |
---|
addParameters, getClientContext, getDefaultLabel, getEditingDomain, getElementsToEdit, getLabel, getParameter, getParameters, setClientContext, setEditingDomain, setLabel, setParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetEditContextRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, IEditCommandRequest editRequest, java.lang.Object editHelperContext)
editingDomain
- the editing domain in which I am requesting to make modeleditRequest
- the edit request whose context is being requestedpublic GetEditContextRequest(IEditCommandRequest editRequest, java.lang.Object editHelperContext)
editRequest
.
editRequest
- the edit request whose context is being requestedMethod Detail |
---|
public java.lang.Object getEditHelperContext()
public IEditCommandRequest getEditCommandRequest()
public java.lang.Object getEditContext()
public void setEditContext(java.lang.Object editContext)
editContext
- the new edit context
|
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.