Package org.apache.uima.caseditor.ide
Class TypeSystemLocationPropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.apache.uima.caseditor.ide.TypeSystemLocationPropertyPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.preference.IPreferencePage,org.eclipse.ui.IWorkbenchPropertyPage
public class TypeSystemLocationPropertyPage
extends org.eclipse.ui.dialogs.PropertyPage
Type System Property Page to set the default type system location of a project.
-
Field Summary
FieldsFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent) static org.eclipse.core.resources.IFilegetTypeSystemLocation(org.eclipse.core.resources.IProject project) Retrieves the type system or null if its not set.protected voidbooleanstatic voidsetTypeSystemLocation(org.eclipse.core.resources.IProject project, String typeSystemLocation) Methods inherited from class org.eclipse.ui.dialogs.PropertyPage
getElement, setElementMethods 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, updateApplyButtonMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
-
Field Details
-
TYPE_SYSTEM_PROPERTY
- See Also:
-
-
Constructor Details
-
TypeSystemLocationPropertyPage
public TypeSystemLocationPropertyPage()
-
-
Method Details
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) - Specified by:
createContentsin classorg.eclipse.jface.preference.PreferencePage
-
performDefaults
protected void performDefaults()- Overrides:
performDefaultsin classorg.eclipse.jface.preference.PreferencePage
-
performOk
public boolean performOk()- Specified by:
performOkin interfaceorg.eclipse.jface.preference.IPreferencePage- Overrides:
performOkin classorg.eclipse.jface.preference.PreferencePage
-
getTypeSystemLocation
public static org.eclipse.core.resources.IFile getTypeSystemLocation(org.eclipse.core.resources.IProject project) Retrieves the type system or null if its not set.- Parameters:
project- -- Returns:
- the type system location or null if its not set
-
setTypeSystemLocation
public static void setTypeSystemLocation(org.eclipse.core.resources.IProject project, String typeSystemLocation)
-