Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.diagram.core.services.view
Class CreateViewForKindOperation

java.lang.Object
  extended by 

org.eclipse.gmf.runtime.diagram.core.services.view.CreateViewOperation
      extended by 

org.eclipse.gmf.runtime.diagram.core.services.view.CreateChildViewOperation
          extended by 
org.eclipse.gmf.runtime.diagram.core.services.view.CreateViewForKindOperation
All Implemented Interfaces:
IOperation

public final class CreateViewForKindOperation
extends CreateChildViewOperation


Constructor Summary
CreateViewForKindOperation (java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
 
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. CreateChildViewOperation
getContainerView, getIndex, getPersisted
 
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

CreateViewForKindOperation

public CreateViewForKindOperation(java.lang.Class viewKind,
                                  
IAdaptable semanticAdapter,
                                  
View containerView,
                                  java.lang.String semanticHint,
                                  int index,
                                  
PreferencesHint preferencesHint)
Parameters:
viewKind -
semanticAdapter -
containerView -
semanticHint -
index -
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

getViewKind

public final java.lang.Class getViewKind()
Description copied from class: CreateViewOperation
Returns the view kind class

Specified by:
getViewKind in class CreateViewOperation
Returns:

execute

public java.lang.Object execute(
IProvider provider)
Description copied from interface: IOperation
Executes this operation on the specified provider.

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.

Parameters:
provider - The provider on which to execute the operation.
Returns:
The result of executing this operation.
See Also:
IOperation.execute(IProvider)

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire