Class AbstractImportablePartSection
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.AbstractImportablePartSection
- All Implemented Interfaces:
StandardStrings
,org.eclipse.swt.widgets.Listener
,org.eclipse.ui.forms.IFormPart
- Direct Known Subclasses:
TypeSection
The Class AbstractImportablePartSection.
-
Field Summary
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
ConstructorDescriptionAbstractImportablePartSection
(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent, String headerText, String description) Instantiates a new abstract importable part section. -
Method Summary
Modifier and TypeMethodDescriptiongetAllowedValue
(String value, TypeDescription td) Gets the allowed value.Gets the built in type description.returns null if no feature by this name.protected AllowedValue
getLocalAllowedValue
(TypeDescription td, AllowedValue unchangedAv) Gets the local allowed value.protected FeatureDescription
getLocalFeatureDefinition
(TypeDescription td, String featureName) Gets the local feature definition.protected FeatureDescription
Gets the local feature definition.protected TypeDescription
Gets the local type definition.protected boolean
isBuiltInFeature
(String name, TypeDescription td) Checks if is built in feature.protected boolean
isBuiltInType
(String typeName) Checks if is built in type.protected boolean
Checks if is built in type.protected boolean
Checks if is imported allowed value.protected boolean
isImportedFeature
(String name, TypeDescription td) Checks if is imported feature.boolean
isImportedType
(String typeName) Checks if is imported type.protected boolean
Checks if is imported type.protected boolean
isLocalAllowedValue
(String avString, TypeDescription td) Checks if is local allowed value.protected boolean
isLocalFeature
(String featureName, TypeDescription td) Checks if is local feature.protected boolean
isLocalItem
(org.eclipse.swt.widgets.TreeItem item) Checks if is local item.protected boolean
isLocalType
(String typeName) Checks if is local type.protected boolean
Checks if is local type.Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.AbstractSection
addCapabilitySet, addListenerForPastableWidget, convertNull, copyTableItem, copyTreeItem, createByNameImport, createImport, createLocationImport, enable, 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, initialize, 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, refresh, setFormInput
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.swt.widgets.Listener
handleEvent
-
Constructor Details
-
AbstractImportablePartSection
public AbstractImportablePartSection(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent, String headerText, String description) Instantiates a new abstract importable part section.- Parameters:
aEditor
- the a editorparent
- the parentheaderText
- the header textdescription
- the description
-
-
Method Details
-
isLocalItem
protected boolean isLocalItem(org.eclipse.swt.widgets.TreeItem item) Checks if is local item.- Parameters:
item
- the item- Returns:
- true, if is local item
-
getFeatureFromTypeDescription
returns null if no feature by this name.- Parameters:
name
- the nametd
- the td- Returns:
- the feature from type description
-
getAllowedValue
Gets the allowed value.- Parameters:
value
- the valuetd
- the td- Returns:
- the allowed value
-
getLocalTypeDefinition
Gets the local type definition.- Parameters:
td
- the td- Returns:
- the local type definition
-
getLocalFeatureDefinition
Gets the local feature definition.- Parameters:
td
- the tdfd
- the fd- Returns:
- the local feature definition
-
getLocalFeatureDefinition
Gets the local feature definition.- Parameters:
td
- the tdfeatureName
- the feature name- Returns:
- the local feature definition
-
getLocalAllowedValue
Gets the local allowed value.- Parameters:
td
- the tdunchangedAv
- the unchanged av- Returns:
- the local allowed value
-
getBuiltInTypeDescription
Gets the built in type description.- Parameters:
td
- the td- Returns:
- the built in type description
-
isLocalType
Checks if is local type.- Parameters:
td
- the td- Returns:
- true, if is local type
-
isLocalType
Checks if is local type.- Parameters:
typeName
- the type name- Returns:
- true, if is local type
-
isLocalFeature
Checks if is local feature.- Parameters:
featureName
- the feature nametd
- the td- Returns:
- true, if is local feature
-
isLocalAllowedValue
Checks if is local allowed value.- Parameters:
avString
- the av stringtd
- the td- Returns:
- true, if is local allowed value
-
isImportedType
Checks if is imported type.- Parameters:
typeName
- the type name- Returns:
- true, if is imported type
-
isImportedType
Checks if is imported type.- Parameters:
td
- the td- Returns:
- true, if is imported type
-
isImportedFeature
Checks if is imported feature.- Parameters:
name
- the nametd
- the td- Returns:
- true, if is imported feature
-
isImportedAllowedValue
Checks if is imported allowed value.- Parameters:
td
- the tdav
- the av- Returns:
- true, if is imported allowed value
-
isBuiltInType
Checks if is built in type.- Parameters:
td
- the td- Returns:
- true, if is built in type
-
isBuiltInType
Checks if is built in type.- Parameters:
typeName
- the type name- Returns:
- true, if is built in type
-
isBuiltInFeature
Checks if is built in feature.- Parameters:
name
- the nametd
- the td- Returns:
- true, if is built in feature
-