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.ui.palette
Class PaletteEditPartFactory

java.lang.Object
  extended by
org.eclipse.gef.ui.palette.PaletteEditPartFactory
All Implemented Interfaces:
EditPartFactory

public class PaletteEditPartFactory
extends java.lang.Object
implements EditPartFactory

Factory to create EditParts for different PaletteEntries.


Constructor Summary
PaletteEditPartFactory ()
           
 
Method Summary
protected   EditPart createDrawerEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create DrawerEditPart - edit part for PaletteDrawer
  EditPart createEditPart ( EditPart parentEditPart, java.lang.Object model)
          Creates a new EditPart given the specified context and model.
protected   EditPart createEntryEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create ToolEntryEditPart - edit part for ToolEntry
protected   EditPart createGroupEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create GroupEditPart - edit part for PaletteGroup
protected   EditPart createMainPaletteEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create SliderPaletteEditPart - edit part for PaletteRoot
protected   EditPart createSeparatorEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create SeparatorEditPart - edit part for PaletteSeparator
protected   EditPart createStackEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create PaletteStackEditPart - edit part for PaletteStack
protected   EditPart createTemplateEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create TemplateEditPart - edit part for PaletteTemplateEntry
protected   EditPart createToolbarEditPart ( EditPart parentEditPart, java.lang.Object model)
          Create ToolbarEditPart - edit part for PaletteToolbar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteEditPartFactory

public PaletteEditPartFactory()
Method Detail

createDrawerEditPart

protected 
EditPart createDrawerEditPart(
EditPart parentEditPart,
                                        java.lang.Object model)
Create DrawerEditPart - edit part for PaletteDrawer

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteDrawer
Returns:
the newly created EditPart

createEditPart

public 
EditPart createEditPart(
EditPart parentEditPart,
                               java.lang.Object model)
Description copied from interface: EditPartFactory
Creates a new EditPart given the specified context and model.

Specified by:
createEditPart in interface EditPartFactory
Parameters:
parentEditPart - 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
See Also:
EditPartFactory.createEditPart(EditPart, Object)

createSeparatorEditPart

protected 
EditPart createSeparatorEditPart(
EditPart parentEditPart,
                                           java.lang.Object model)
Create SeparatorEditPart - edit part for PaletteSeparator

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteSeparator
Returns:
the newly created EditPart

createStackEditPart

protected 
EditPart createStackEditPart(
EditPart parentEditPart,
                                       java.lang.Object model)
Create PaletteStackEditPart - edit part for PaletteStack

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteStack
Returns:
the newly created EditPart

createEntryEditPart

protected 
EditPart createEntryEditPart(
EditPart parentEditPart,
                                       java.lang.Object model)
Create ToolEntryEditPart - edit part for ToolEntry

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the ToolEntry
Returns:
the newly created EditPart

createGroupEditPart

protected 
EditPart createGroupEditPart(
EditPart parentEditPart,
                                       java.lang.Object model)
Create GroupEditPart - edit part for PaletteGroup

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteGroup
Returns:
the newly created EditPart

createToolbarEditPart

protected 
EditPart createToolbarEditPart(
EditPart parentEditPart,
                                         java.lang.Object model)
Create ToolbarEditPart - edit part for PaletteToolbar

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteToolbar
Returns:
the newly created EditPart

createMainPaletteEditPart

protected 
EditPart createMainPaletteEditPart(
EditPart parentEditPart,
                                             java.lang.Object model)
Create SliderPaletteEditPart - edit part for PaletteRoot

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteRoot
Returns:
the newly created EditPart

createTemplateEditPart

protected 
EditPart createTemplateEditPart(
EditPart parentEditPart,
                                          java.lang.Object model)
Create TemplateEditPart - edit part for PaletteTemplateEntry

Parameters:
parentEditPart - the parent of the new editpart to be created
model - the PaletteTemplateEntry
Returns:
the newly created 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