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
Answertopia.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.view.factories
Interface ViewFactory


public interface ViewFactory

Interface defining the basic View Factory APIs; a view factory is responsible for creating a view. The createView will be called by the ViewService (using reflection) during a view creation process.

See Also:
ViewService, CreateViewOperation

Method Summary
  View createView ( IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          factory method, that will be called by the view service to creat the view
 

Method Detail

createView


View createView(
IAdaptable semanticAdapter,
                
View containerView,
                java.lang.String semanticHint,
                int index,
                boolean persisted,
                
PreferencesHint preferencesHint)
factory method, that will be called by the view service to creat the view

Parameters:
semanticAdapter - semanitc element of the view, it can be null
containerView - the view to contain the connection
semanticHint - a semantic hint to reflect the view type, it can be empty
index - position with parent's child collection
persisted - persisted flag, this will indicate if the created view will be a presisted or transient view, transient views never get serialized
preferenceStoreID - the ID mapped to the preference store to be used when initializing the view's properties
Returns:
the new view

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