|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.diagram.core.services.view.CreateViewOperation
org.eclipse.gmf.runtime.diagram.core.services.view.CreateDiagramViewOperation
public final class CreateDiagramViewOperation
| Constructor Summary | |
|---|---|
CreateDiagramViewOperation(IAdaptable semanticAdapter,
java.lang.String diagramKindType,
PreferencesHint preferencesHint)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(IProvider provider)
Executes this operation on the specified provider. |
java.lang.Class |
getViewKind()
Returns the view kind class |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.core.services.view.CreateViewOperation |
|---|
getCachingKey, getPreferencesHint, getSemanticAdapter, getSemanticHint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateDiagramViewOperation(IAdaptable semanticAdapter,
java.lang.String diagramKindType,
PreferencesHint preferencesHint)
semanticAdapter - diagramKindType - preferencesHint - The preference hint that is to be used to find the appropriate
preference store from which to retrieve diagram preference
values. The preference hint is mapped to a preference store in
the preference registry <@link DiagramPreferencesRegistry>.| Method Detail |
|---|
public final java.lang.Class getViewKind()
CreateViewOperation
getViewKind in class CreateViewOperationCreateViewOperation.getViewKind()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.
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.