org.eclipse.datatools.enablement.oda.xml.ui.preference
Class DataSetPreferencePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.datatools.enablement.oda.xml.ui.preference.DataSetPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

public class DataSetPreferencePage
extends org.eclipse.jface.preference.PreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

This class represents a preference page that is contributed to the Preferences dialog. This page is used to modify dataset preview preferences only. They are stored in the preference store that belongs to the main plug-in class. That way, preferences can be accessed directly via the preference store.


Field Summary
static int DEFAULT_MAX_NUM_OF_ELEMENT_PARSED
          default value of max schema number
static java.lang.String USER_MAX_NUM_OF_ELEMENT_PASSED
          max Row preference name
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
DataSetPreferencePage()
           
 
Method Summary
 void init(org.eclipse.ui.IWorkbench workbench)
           
 boolean performOk()
           
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Field Detail

DEFAULT_MAX_NUM_OF_ELEMENT_PARSED

public static final int DEFAULT_MAX_NUM_OF_ELEMENT_PARSED
default value of max schema number

See Also:
Constant Field Values

USER_MAX_NUM_OF_ELEMENT_PASSED

public static final java.lang.String USER_MAX_NUM_OF_ELEMENT_PASSED
max Row preference name

See Also:
Constant Field Values
Constructor Detail

DataSetPreferencePage

public DataSetPreferencePage()
Method Detail

init

public void init(org.eclipse.ui.IWorkbench workbench)
Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

performOk

public boolean performOk()
Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
Overrides:
performOk in class org.eclipse.jface.preference.PreferencePage