Package com.iizigo.swt
Interface IFlatToolbarButtonIntegration
- All Known Implementing Classes:
StylesButton
public interface IFlatToolbarButtonIntegration
Interface providing tooltip and context menu support for the flat toolbar button. Whenever the interface is present for a button, mouse 1 button is only processed and no tooltip.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(FlatToolbarButton button)
Initializes the button interface, e.g.void
setEditedProperties(PropCnr[] props, IPropertyEditorController controller)
Initializes the edited properties.
Method Detail
setEditedProperties
void setEditedProperties(PropCnr[] props, IPropertyEditorController controller)
Initializes the edited properties. This method is called just after construction, and once only to setup edited properties. Then the "initialize" method is called.- Parameters:
props
- The edited properties, never null.controller
- The controller.
initialize
void initialize(FlatToolbarButton button)
Initializes the button interface, e.g. creation of context menu.- Parameters:
button
- The button.