org.formaria.editor.eclipse.project.pages
Class ComponentPalette
java.lang.Object
ViewPart
org.formaria.editor.eclipse.project.pages.ComponentPalette
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, ComponentSelectListener, EditorComponentListener, IComponentPalette
public class ComponentPalette
- extends ViewPart
- implements IComponentPalette
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentPalette
public ComponentPalette()
createPartControl
public void createPartControl(Composite parent)
setFocus
public void setFocus()
dispose
public void dispose()
getDefault
public static IComponentPalette getDefault()
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 -
componentAdded
public void componentAdded()
- Specified by:
componentAdded in interface EditorComponentListener
setNewComponent
public void setNewComponent(java.awt.Component c)
- Specified by:
setNewComponent in interface EditorComponentListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
addToolbarListener
public void addToolbarListener(ToolbarSelectionListener l)
- Specified by:
addToolbarListener in interface IComponentPalette
refresh
public void refresh()
- Refresh the list of components registered via extra component factories.
- Specified by:
refresh in interface IComponentPalette
setPageDesigner
public void setPageDesigner(PageDesigner pd)
- Specified by:
setPageDesigner in interface IComponentPalette