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

  




 

 

Eclipse GEF
3.3

org.eclipse.gef
Interface EditPartFactory

All Known Implementing Classes:
PaletteEditPartFactory

public interface EditPartFactory

A factory for creating new EditParts. EditPartViewers can be configured with an EditPartFactory. Whenever an EditPart in that viewer needs to create another EditPart, it can use the Viewer's factory. The factory is also used by the viewer whenever EditPartViewer.setContents(Object) is called.

Since:
2.0

Method Summary
  EditPart createEditPart ( EditPart context, java.lang.Object model)
          Creates a new EditPart given the specified context and model.
 

Method Detail

createEditPart

public 
EditPart createEditPart(
EditPart context,
                               java.lang.Object model)
Creates a new EditPart given the specified context and model.

Parameters:
context - The context in which the EditPart is being created, such as its parent.
model - the model of the EditPart being created
Returns:
EditPart the new EditPart

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

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