Package org.apache.uima.taeconfigurator
Class CDEpropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.apache.uima.taeconfigurator.CDEpropertyPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.preference.IPreferencePage
,org.eclipse.ui.IWorkbenchPropertyPage
public class CDEpropertyPage
extends org.eclipse.ui.dialogs.PropertyPage
The Class CDEpropertyPage.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
createContents
(org.eclipse.swt.widgets.Composite parent) Creates the contents.static String
getAddToFlow
(org.eclipse.core.resources.IProject project) Gets the adds the to flow.static String
getDataPath
(org.eclipse.core.resources.IProject project) Gets the data path.static String
getImportByDefault
(org.eclipse.core.resources.IProject project) Gets the import by default.protected void
boolean
static void
setAddToFlow
(org.eclipse.core.resources.IProject project, String byDefault) Sets the add to flow.static void
setDataPath
(org.eclipse.core.resources.IProject project, String dataPath) Sets the data path.static void
setImportByDefault
(org.eclipse.core.resources.IProject project, String byDefault) Sets the import by default.Methods inherited from class org.eclipse.ui.dialogs.PropertyPage
getElement, setElement
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
-
Constructor Details
-
CDEpropertyPage
public CDEpropertyPage()Instantiates a new CD eproperty page.
-
-
Method Details
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) Creates the contents.- Specified by:
createContents
in classorg.eclipse.jface.preference.PreferencePage
- Parameters:
parent
- the parent- Returns:
- the control
- See Also:
-
performDefaults
protected void performDefaults()- Overrides:
performDefaults
in classorg.eclipse.jface.preference.PreferencePage
-
performOk
public boolean performOk()- Specified by:
performOk
in interfaceorg.eclipse.jface.preference.IPreferencePage
- Overrides:
performOk
in classorg.eclipse.jface.preference.PreferencePage
-
getDataPath
Gets the data path.- Parameters:
project
- the project- Returns:
- the data path
-
setDataPath
Sets the data path.- Parameters:
project
- the projectdataPath
- the data path
-
getImportByDefault
Gets the import by default.- Parameters:
project
- the project- Returns:
- the import by default
-
setImportByDefault
public static void setImportByDefault(org.eclipse.core.resources.IProject project, String byDefault) Sets the import by default.- Parameters:
project
- the projectbyDefault
- the by default
-
getAddToFlow
Gets the adds the to flow.- Parameters:
project
- the project- Returns:
- the adds the to flow
-
setAddToFlow
Sets the add to flow.- Parameters:
project
- the projectbyDefault
- the by default
-