Package org.eclipse.wst.xsl.ui.internal.preferences


org.eclipse.wst.xsl.ui.internal.preferences
Class AbstractXSLPreferencePage



public class AbstractXSLPreferencePage
extends AbstractPreferencePage
Augments the SSE AbstractPreferencePage with support for expandable composites (twisties) and combos.


Constructor Summary

AbstractXSLPreferencePage()

Method Summary

protected CombocreateCombo(Composite parent , java.lang.String label , java.lang.String prefKey)
    
protected CompositecreateCommonContents(Composite parent)
     Called by createContents and must be implemented.
protected ControlcreateContents(Composite parent)
    
protected CompositecreateTwistie(Composite parent , java.lang.String label , int cols)
    
public voiddispose()
     Saves the expansion states before calling super.
protected PreferencesgetModelPreferences()
    
public booleanperformOk()
     Save the preferences.

Constructor Detail

AbstractXSLPreferencePage

public AbstractXSLPreferencePage()


Methods Detail

createCombo

protected Combo createCombo(Composite parent , java.lang.String label , java.lang.String prefKey)

Parameters

parent

label

prefKey

Returns

Combo


createCommonContents

protected Composite createCommonContents(Composite parent)

Called by createContents and must be implemented.

Parameters

parent

Returns

Composite - the composite


createContents

protected Control createContents(Composite parent)

Parameters

parent

Returns

Control


createTwistie

protected Composite createTwistie(Composite parent , java.lang.String label , int cols)

Parameters

parent

label

cols

Returns

Composite


dispose

public void dispose()

Saves the expansion states before calling super.


getModelPreferences

protected Preferences getModelPreferences()

Returns

Preferences


performOk

public boolean performOk()

Save the preferences.

Returns

boolean