|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectViewPart
org.formaria.editor.eclipse.project.pages.StylePalette
public class StylePalette
| Constructor Summary | |
|---|---|
StylePalette()
|
|
| Method Summary | |
|---|---|
void |
addStyleListener(StyleListener l)
Set a listener for style changes |
void |
createPartControl(Composite parent)
|
void |
dispose()
|
static IStylePalette |
getDefault()
|
void |
setFocus()
|
void |
setSelectedComponents(IPagePanel currentPagePanel,
java.util.Vector selectedComponents,
boolean contentsChanged)
Called when a component has been selected |
void |
setVisible(boolean state)
|
void |
styleChanged(java.lang.String styleName,
Style newStyle)
Called when a style is changed. |
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 |
| Constructor Detail |
|---|
public StylePalette()
| Method Detail |
|---|
public void createPartControl(Composite parent)
public void setFocus()
setFocus in interface IStylePalettepublic void dispose()
dispose in interface IStylePalettepublic static IStylePalette getDefault()
public void setSelectedComponents(IPagePanel currentPagePanel,
java.util.Vector selectedComponents,
boolean contentsChanged)
setSelectedComponents in interface ComponentSelectListenersetSelectedComponents in interface IStylePaletteselectedComponents - public void addStyleListener(StyleListener l)
addStyleListener in interface IStylePalettelistener - the new listener
public void styleChanged(java.lang.String styleName,
Style newStyle)
styleChanged in interface IStylePalettestyleChanged in interface StyleListenerstyleName - the name of the style which has been changednewStyle - The new XStylepublic void update()
update in interface IStylePalettepublic void setVisible(boolean state)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||