org.formaria.editor.eclipse.project.pages
Class LayerPalette

java.lang.Object
  extended by ViewPart
      extended by org.formaria.editor.eclipse.project.pages.LayerPalette
All Implemented Interfaces:
ILayerPalette, ComponentSelectListener

public class LayerPalette
extends ViewPart
implements ComponentSelectListener, ILayerPalette

A TopComponent wrapper for the layer palette

Copyright (c) Formaria Ltd., 1998-2008

License: see license.txt


Method Summary
 boolean canClose()
           
 void createPartControl(Composite parent)
           
 void dispose()
           
static ILayerPalette getDefault()
           
 java.lang.String preferredID()
           
 java.lang.Object readResolve()
          Resolve to singleton instance
 void setFocus()
           
 void setSelectedComponents(IPagePanel currentPagePanel, java.util.Vector selectedComponents, boolean contentsChanged)
          Called when a component has been selected
 void update()
          Force the editor to refresh itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPartControl

public void createPartControl(Composite parent)

getDefault

public static ILayerPalette getDefault()

canClose

public boolean canClose()

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Resolve to singleton instance

Throws:
java.io.ObjectStreamException

preferredID

public java.lang.String preferredID()

setSelectedComponents

public void setSelectedComponents(IPagePanel currentPagePanel,
                                  java.util.Vector selectedComponents,
                                  boolean contentsChanged)
Called when a component has been selected

Specified by:
setSelectedComponents in interface ComponentSelectListener
Parameters:
selectedComponents -

update

public void update()
Force the editor to refresh itself.

Specified by:
update in interface ILayerPalette

setFocus

public void setFocus()
Specified by:
setFocus in interface ILayerPalette

dispose

public void dispose()
Specified by:
dispose in interface ILayerPalette