org.formaria.editor.eclipse.project.pages
Class ComponentProperties
java.lang.Object
ViewPart
org.formaria.editor.eclipse.project.pages.ComponentProperties
- All Implemented Interfaces:
- ComponentSelectListener, EditorComponentListener, IComponentProperties, StyleListener
public class ComponentProperties
- extends ViewPart
- implements IComponentProperties
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentProperties
public ComponentProperties()
createPartControl
public void createPartControl(Composite parent)
setFocus
public void setFocus()
dispose
public void dispose()
getDefault
public static IComponentProperties getDefault()
setPageDesigner
public void setPageDesigner(PageDesigner pd)
- Specified by:
setPageDesigner in interface IComponentProperties
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
setEventHandlerEditor
public void setEventHandlerEditor(EventHandlerEditor ehe)
- Specified by:
setEventHandlerEditor in interface IComponentProperties
addStyleListener
public void addStyleListener(StyleListener l)
- Set a listener for style changes
- Specified by:
addStyleListener in interface IComponentProperties
- Parameters:
listener - the new listener
styleChanged
public void styleChanged(java.lang.String styleName,
Style newStyle)
- Called when a style is changed. This allows the editor to reset the
components visually.
- Specified by:
styleChanged in interface StyleListener
- Parameters:
styleName - the name of the style which has been changednewStyle - The new XStyle