Eclipse GEF
3.0

org.eclipse.gef.ui.views.palette
Class PaletteView

java.lang.Object
  extended byPageBookView
      extended byorg.eclipse.gef.ui.views.palette.PaletteView

public class PaletteView
extends PageBookView

The GEF palette view

Since:
3.0
See Also:
Serialized Form

Field Summary
static String ID
          The ID for this view.
 
Constructor Summary
PaletteView()
           
 
Method Summary
protected  IPage createDefaultPage(PageBook book)
          Creates a default page saying that a palette is not available.
protected  PageRec doCreatePage(IWorkbenchPart part)
           
protected  void doDestroyPage(IWorkbenchPart part, PageRec rec)
           
protected  IWorkbenchPart getBootstrapPart()
          The view shows the palette associated with the active editor.
protected  boolean isImportant(IWorkbenchPart part)
          Only editors are important.
 void partActivated(IWorkbenchPart part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
The ID for this view. This is the same as the String used to register this view with the platform's extension point.

See Also:
Constant Field Values
Constructor Detail

PaletteView

public PaletteView()
Method Detail

createDefaultPage

protected IPage createDefaultPage(PageBook book)
Creates a default page saying that a palette is not available.

See Also:
PageBookView

doCreatePage

protected PageRec doCreatePage(IWorkbenchPart part)
See Also:
PageBookView

doDestroyPage

protected void doDestroyPage(IWorkbenchPart part,
                             PageRec rec)
See Also:
PageBookView#doDestroyPage(org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.part.PageBookView.PageRec)

getBootstrapPart

protected IWorkbenchPart getBootstrapPart()
The view shows the palette associated with the active editor.

See Also:
PageBookView#getBootstrapPart()

isImportant

protected boolean isImportant(IWorkbenchPart part)
Only editors are important.

See Also:
PageBookView#isImportant(org.eclipse.ui.IWorkbenchPart)

partActivated

public void partActivated(IWorkbenchPart part)
See Also:
IPartListener

Eclipse GEF
3.0

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