org.eclipse.datatools.sqltools.common.ui.preferences
Interface IDataServerPreferenceSection

All Known Subinterfaces:
IDataServerLaunchPreferenceSection

public interface IDataServerPreferenceSection

This section will appear inside a preference page as a Tab for data servers to provide vendor specific preferences. The implementation should be contributed in via the preferenceSections extension point.

Author:
Dafan Yang, Hui Cao

Method Summary
 Composite createSectionComposite(Composite parent)
          create the UI section's composite.
 Composite getSectionComposite()
          get the UI section's composite
 IStatus getStatus()
          get the validation status of this section.
 void loadDefaultPreference(IPreferenceStore store)
          load default preferences to this UI section
 void loadFromPreferenceStore(IPreferenceStore store)
          load preferences to this UI section
 void saveToPreferenceStore(IPreferenceStore store)
          save the UI section's status to preference store
 

Method Detail

loadDefaultPreference

public void loadDefaultPreference(IPreferenceStore store)
load default preferences to this UI section

Parameters:
store -

saveToPreferenceStore

public void saveToPreferenceStore(IPreferenceStore store)
save the UI section's status to preference store

Parameters:
store -

loadFromPreferenceStore

public void loadFromPreferenceStore(IPreferenceStore store)
load preferences to this UI section

Parameters:
store -

getSectionComposite

public Composite getSectionComposite()
get the UI section's composite

Returns:

createSectionComposite

public Composite createSectionComposite(Composite parent)
create the UI section's composite. Implementing classes should call createSectionComposite first before calling other APIs

Returns:

getStatus

public IStatus getStatus()
get the validation status of this section.

Returns:


Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.