Class IndexSection
java.lang.Object
org.eclipse.ui.forms.AbstractFormPart
org.eclipse.ui.forms.SectionPart
org.apache.uima.taeconfigurator.editors.ui.AbstractSection
org.apache.uima.taeconfigurator.editors.ui.IndexSection
- All Implemented Interfaces:
StandardStrings
,org.eclipse.swt.widgets.Listener
,org.eclipse.ui.forms.IFormPart
The Class IndexSection.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant ANNOTATION_INDEX_BUILT_IN.static final int
The Constant ASC_DES_COL.static final int
The Constant INDEX_KIND_COL.static final int
The Constant INDEX_NAME_COL.static final int
The Constant INDEX_TYPE_COL.org.eclipse.swt.widgets.Tree
The tt.Fields inherited from class org.apache.uima.taeconfigurator.editors.ui.AbstractSection
capabilityArray0, configurationGroup0, configurationGroupArray0, configurationParameter0, configurationParameterArray0, editor, ENABLED, EQUAL_WIDTH, externalResourceBinding0, externalResourceDescription0, featureDescriptionArray0, fsIndexDescription0, HEADER_VISIBLE, HORIZONTAL_BUTTONS, IMPORTABLE_PART_CONTEXT, initialFormWidth, LINES_VISIBLE, nameValuePairArray0, NO_MIN_HEIGHT, NOT_SELECTED, NOTHING_SELECTED, PLUGIN_ID, SELECTED, sofaMapping0, stringArray0, toolkit, treeItemArray0, typeDescription0, typePriorityList0, valueChanged, VERTICAL_BUTTONS, WIDTH_NOT_SPECIFIED
Fields inherited from interface org.apache.uima.taeconfigurator.StandardStrings
S_, S_ADD, S_DESCRIPTION, S_DOWN, S_DOWN_TIP, S_EDIT, S_EDIT_TIP, S_EXPORT, S_EXPORT_TIP, S_REMOVE, S_REMOVE_TIP, S_UP, S_UP_TIP
-
Constructor Summary
ConstructorDescriptionIndexSection
(MultiPageEditor editor, org.eclipse.swt.widgets.Composite parent) Instantiates a new index section. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the fs index description.void
Adds the fs index key description.addOrEditIndexKey
(AddIndexKeyDialog dialog, FsIndexKeyDescription key) Adds the or edit index key.Creates the fs index key description.void
enable()
Enable.Gets the already used features.Gets the built in index description.void
handleEvent
(org.eclipse.swt.widgets.Event event) void
initialize
(org.eclipse.ui.forms.IManagedForm form) boolean
isDuplicateIndexLabel
(String indexLabel) This has to check the resolvedImports, mergedWithDelegates version of the fsindexes.void
refresh()
void
Removes the fs index description.void
Removes the fs index key description.Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.AbstractSection
addCapabilitySet, addListenerForPastableWidget, convertNull, copyTableItem, copyTreeItem, createByNameImport, createImport, createLocationImport, enableBorders, enableCtrl, finishAggregateChangeAction, formatName, getAnalysisEngineMetaData, getAvailableTypeNames, getCapabilities, getCapabilities, getCapabilitySofaNames, getCapabilitySofaNames, getConfigurationParameterDeclarations, getDelegateAnalysisEngineSpecifiersWithImports, getDescriptionForDescriptor, getExternalResourceBindings, getExternalResourceDependencies, getExternalResources, getFeature, getFlowControllerDeclaration, getFsIndexCollection, getFsIndexDescriptionFromTableTreeItem, getIndex, getIndex, getItemIndex, getMergedTypeSystemDescription, getMetaDataFromDescription, getNameSpace, getOperationalProperties, getPreviousSelection, getResourceManagerConfiguration, getShortFeatureName, getShortName, getSofaMappings, getSofaMappings, getToolkit, getTypeFromFullFeatureName, getTypeOrFeature, getTypePriorities, getTypeSystemDescription, handleDefaultIndexKind, isAeDescriptor, isAggregate, isArrayOrListType, isCasConsumerDescriptor, isCasInitializerDescriptor, isCollectionReaderDescriptor, isExtResAndBindingsDescriptor, isFlowControllerDescriptor, isFSArrayOrListType, isIndexableRange, isIndexDescriptor, isJmsDescriptor, isLocalProcessingDescriptor, isParmGroup, isPrimitive, isTypePriorityDescriptor, isTypeSystemDescriptor, isValidAe, isValidAggregateChange, markRestOfPageStale, markStale, markStaleIfDifferent, maybeSetSelection, maybeShortenFileName, multiLineFix, new2ColumnComposite, new3ColumnComposite, new4ColumnComposite, newButtonContainer, newButtonContainer, newCComboWithTip, newCheckBox, newComposite, newDescriptionTextBox, newLabeledCComboWithTip, newLabeledTextField, newLabeledTextField, newLabelWithData, newLabelWithTip, newLabelWithTip, newNcolumnComposite, newPushButton, newPushButton, newPushButton, newRadioButton, newTable, newTable, newTable, newTableColumn, newTableColumn, newTableColumn, newTableColumn, newTextWithTip, newTextWithTip, newTree, newTree, newTreeColumn, newTreeColumn, newTreeColumn, newTreeColumn, newUnUpdatableTextWithTip, packTable, packTree, parseDescriptor, parseDescriptor, parseToFitInToolTips, produceUniqueComponentKey, readImport, removeChildren, requestPopUpOverImport, revertMsg, revertOrContinue, revertTypeSystem, setButtonSelection, setFileDirty, setFlowControllerDeclaration, setMargins, setSelectionOneUp, setToolTipText, setupToPrintFile, setValueChanged, setValueChangedBoolean, setValueChangedCapitalBoolean, setValueChangedInt, setValueChangedKeys, setVnsHostAndPort, setVnsHostAndPort, showExceptionReadingImportedDescriptor, spacer, stringArrayAdd, stringArrayRemove, swapIndexKeys, swapTableItems, swapTreeItems, typeOrFeatureArrayAdd, typeOrFeatureArrayRemove, typeOrFeatureArrayRemove
Methods inherited from class org.eclipse.ui.forms.SectionPart
expansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocus
Methods inherited from class org.eclipse.ui.forms.AbstractFormPart
commit, dispose, getManagedForm, isDirty, isStale, markDirty, markStale, setFormInput
-
Field Details
-
ANNOTATION_INDEX_BUILT_IN
The Constant ANNOTATION_INDEX_BUILT_IN.- See Also:
-
INDEX_NAME_COL
public static final int INDEX_NAME_COLThe Constant INDEX_NAME_COL.- See Also:
-
INDEX_TYPE_COL
public static final int INDEX_TYPE_COLThe Constant INDEX_TYPE_COL.- See Also:
-
ASC_DES_COL
public static final int ASC_DES_COLThe Constant ASC_DES_COL.- See Also:
-
INDEX_KIND_COL
public static final int INDEX_KIND_COLThe Constant INDEX_KIND_COL.- See Also:
-
tt
public org.eclipse.swt.widgets.Tree ttThe tt.
-
-
Constructor Details
-
IndexSection
Instantiates a new index section.- Parameters:
editor
- the editorparent
- the parent
-
-
Method Details
-
initialize
public void initialize(org.eclipse.ui.forms.IManagedForm form) - Specified by:
initialize
in interfaceorg.eclipse.ui.forms.IFormPart
- Overrides:
initialize
in classAbstractSection
-
refresh
public void refresh()- Specified by:
refresh
in interfaceorg.eclipse.ui.forms.IFormPart
- Overrides:
refresh
in classorg.eclipse.ui.forms.AbstractFormPart
-
createFsIndexKeyDescription
Creates the fs index key description.- Returns:
- the fs index key description
-
getBuiltInIndexDescription
Gets the built in index description.- Returns:
- the built in index description
-
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event event) -
addFsIndexKeyDescription
Adds the fs index key description.- Parameters:
fsid
- the fsidkey
- the key
-
addFsIndexDescription
Adds the fs index description.- Parameters:
fsid
- the fsid
-
removeFsIndexDescription
Removes the fs index description.- Parameters:
fsid
- the fsid
-
removeFsIndexKeyDescription
Removes the fs index key description.- Parameters:
fsid
- the fsidkey
- the key
-
getAlreadyUsedFeatures
Gets the already used features.- Parameters:
ndx
- the ndx- Returns:
- the already used features
-
addOrEditIndexKey
Adds the or edit index key.- Parameters:
dialog
- the dialogkey
- the key- Returns:
- the fs index key description
-
isDuplicateIndexLabel
This has to check the resolvedImports, mergedWithDelegates version of the fsindexes.- Parameters:
indexLabel
- the index label- Returns:
- true, if is duplicate index label
-
enable
public void enable()Description copied from class:AbstractSection
Enable.- Specified by:
enable
in classAbstractSection
-