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_SPECIFIEDFields 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
ConstructorsConstructorDescriptionAbstractImportablePartSection(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent, String headerText, String description) Instantiates a new abstract importable part section. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.uima.resource.metadata.AllowedValuegetAllowedValue(String value, org.apache.uima.resource.metadata.TypeDescription td) Gets the allowed value.org.apache.uima.resource.metadata.TypeDescriptiongetBuiltInTypeDescription(org.apache.uima.resource.metadata.TypeDescription td) Gets the built in type description.org.apache.uima.resource.metadata.FeatureDescriptiongetFeatureFromTypeDescription(String name, org.apache.uima.resource.metadata.TypeDescription td) returns null if no feature by this name.protected org.apache.uima.resource.metadata.AllowedValuegetLocalAllowedValue(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.AllowedValue unchangedAv) Gets the local allowed value.protected org.apache.uima.resource.metadata.FeatureDescriptiongetLocalFeatureDefinition(org.apache.uima.resource.metadata.TypeDescription td, String featureName) Gets the local feature definition.protected org.apache.uima.resource.metadata.FeatureDescriptiongetLocalFeatureDefinition(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.FeatureDescription fd) Gets the local feature definition.protected org.apache.uima.resource.metadata.TypeDescriptiongetLocalTypeDefinition(org.apache.uima.resource.metadata.TypeDescription td) Gets the local type definition.protected booleanisBuiltInFeature(String name, org.apache.uima.resource.metadata.TypeDescription td) Checks if is built in feature.protected booleanisBuiltInType(String typeName) Checks if is built in type.protected booleanisBuiltInType(org.apache.uima.resource.metadata.TypeDescription td) Checks if is built in type.protected booleanisImportedAllowedValue(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.AllowedValue av) Checks if is imported allowed value.protected booleanisImportedFeature(String name, org.apache.uima.resource.metadata.TypeDescription td) Checks if is imported feature.booleanisImportedType(String typeName) Checks if is imported type.protected booleanisImportedType(org.apache.uima.resource.metadata.TypeDescription td) Checks if is imported type.protected booleanisLocalAllowedValue(String avString, org.apache.uima.resource.metadata.TypeDescription td) Checks if is local allowed value.protected booleanisLocalFeature(String featureName, org.apache.uima.resource.metadata.TypeDescription td) Checks if is local feature.protected booleanisLocalItem(org.eclipse.swt.widgets.TreeItem item) Checks if is local item.protected booleanisLocalType(String typeName) Checks if is local type.protected booleanisLocalType(org.apache.uima.resource.metadata.TypeDescription td) 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, typeOrFeatureArrayRemoveMethods inherited from class org.eclipse.ui.forms.SectionPart
expansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocusMethods inherited from class org.eclipse.ui.forms.AbstractFormPart
commit, dispose, getManagedForm, isDirty, isStale, markDirty, markStale, refresh, setFormInputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
public org.apache.uima.resource.metadata.FeatureDescription getFeatureFromTypeDescription(String name, org.apache.uima.resource.metadata.TypeDescription td) returns null if no feature by this name.- Parameters:
name- the nametd- the td- Returns:
- the feature from type description
-
getAllowedValue
public org.apache.uima.resource.metadata.AllowedValue getAllowedValue(String value, org.apache.uima.resource.metadata.TypeDescription td) Gets the allowed value.- Parameters:
value- the valuetd- the td- Returns:
- the allowed value
-
getLocalTypeDefinition
protected org.apache.uima.resource.metadata.TypeDescription getLocalTypeDefinition(org.apache.uima.resource.metadata.TypeDescription td) Gets the local type definition.- Parameters:
td- the td- Returns:
- the local type definition
-
getLocalFeatureDefinition
protected org.apache.uima.resource.metadata.FeatureDescription getLocalFeatureDefinition(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.FeatureDescription fd) Gets the local feature definition.- Parameters:
td- the tdfd- the fd- Returns:
- the local feature definition
-
getLocalFeatureDefinition
protected org.apache.uima.resource.metadata.FeatureDescription getLocalFeatureDefinition(org.apache.uima.resource.metadata.TypeDescription td, String featureName) Gets the local feature definition.- Parameters:
td- the tdfeatureName- the feature name- Returns:
- the local feature definition
-
getLocalAllowedValue
protected org.apache.uima.resource.metadata.AllowedValue getLocalAllowedValue(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.AllowedValue unchangedAv) Gets the local allowed value.- Parameters:
td- the tdunchangedAv- the unchanged av- Returns:
- the local allowed value
-
getBuiltInTypeDescription
public org.apache.uima.resource.metadata.TypeDescription getBuiltInTypeDescription(org.apache.uima.resource.metadata.TypeDescription td) Gets the built in type description.- Parameters:
td- the td- Returns:
- the built in type description
-
isLocalType
protected boolean isLocalType(org.apache.uima.resource.metadata.TypeDescription td) 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
protected boolean isLocalFeature(String featureName, org.apache.uima.resource.metadata.TypeDescription td) Checks if is local feature.- Parameters:
featureName- the feature nametd- the td- Returns:
- true, if is local feature
-
isLocalAllowedValue
protected boolean isLocalAllowedValue(String avString, org.apache.uima.resource.metadata.TypeDescription td) 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
protected boolean isImportedType(org.apache.uima.resource.metadata.TypeDescription td) Checks if is imported type.- Parameters:
td- the td- Returns:
- true, if is imported type
-
isImportedFeature
protected boolean isImportedFeature(String name, org.apache.uima.resource.metadata.TypeDescription td) Checks if is imported feature.- Parameters:
name- the nametd- the td- Returns:
- true, if is imported feature
-
isImportedAllowedValue
protected boolean isImportedAllowedValue(org.apache.uima.resource.metadata.TypeDescription td, org.apache.uima.resource.metadata.AllowedValue av) Checks if is imported allowed value.- Parameters:
td- the tdav- the av- Returns:
- true, if is imported allowed value
-
isBuiltInType
protected boolean isBuiltInType(org.apache.uima.resource.metadata.TypeDescription td) 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
protected boolean isBuiltInFeature(String name, org.apache.uima.resource.metadata.TypeDescription td) Checks if is built in feature.- Parameters:
name- the nametd- the td- Returns:
- true, if is built in feature
-