|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.editor.OpenEditorOperation
public class OpenEditorOperation
An operation that opens an editor with a given input
Constructor Summary | |
---|---|
protected |
OpenEditorOperation(IEditorInput anEditorInput)
Constructs a new OpenEditorOperation with the given editor input |
Method Summary | |
---|---|
java.lang.Object |
execute(IProvider provider)
Executes this operation on the specified provider. |
IEditorInput |
getEditorInput()
Retrieves the editor input |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected OpenEditorOperation(IEditorInput anEditorInput)
anEditorInput
- the editor inputMethod Detail |
---|
public IEditorInput getEditorInput()
public java.lang.Object execute(IProvider provider)
IOperation
Service implementers generally implement this method by first casting the
provider to their service specific IProvider
-derived class and
then by delegating it the execution. Delegation is accomplished through
the service specific provider derived class API.
execute
in interface IOperation
provider
- The provider on which to execute the operation.
|
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.