Class AnnotationPropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.apache.uima.caseditor.ui.property.AnnotationPropertyPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.preference.IPreferencePage,org.eclipse.ui.IWorkbenchPropertyPage
- Direct Known Subclasses:
EditorAnnotationPropertyPage
public abstract class AnnotationPropertyPage
extends org.eclipse.ui.dialogs.PropertyPage
This is the
AnnotationPropertyPage. this page configures the project dependent and
type dependent annotation appearance in the AnnotationEditor.-
Field Summary
Fields 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) Creates the annotation property page controls.protected abstract AnnotationStylegetAnnotationStyle(Type type) Gets the annotation style.protected abstract TypeSystemGets the type system.booleanExecuted after the OK button was pressed.protected abstract booleansaveChanges(Collection<AnnotationStyle> changedStyles) Save changes.protected final voidSets the annotation style.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, performDefaults, 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
-
Constructor Details
-
AnnotationPropertyPage
public AnnotationPropertyPage()
-
-
Method Details
-
getAnnotationStyle
Gets the annotation style.- Parameters:
type- the type- Returns:
- the annotation style
-
setAnnotationStyle
Sets the annotation style.- Parameters:
style- the new annotation style
-
getTypeSystem
Gets the type system.- Returns:
- the type system
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) Creates the annotation property page controls.- Specified by:
createContentsin classorg.eclipse.jface.preference.PreferencePage- Parameters:
parent- the parent- Returns:
- the control
-
saveChanges
Save changes.- Parameters:
changedStyles- the changed styles- Returns:
- true, if successful
-
performOk
public boolean performOk()Executed after the OK button was pressed.- Specified by:
performOkin interfaceorg.eclipse.jface.preference.IPreferencePage- Overrides:
performOkin classorg.eclipse.jface.preference.PreferencePage- Returns:
- true, if successful
-