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 TypeMethodDescriptiongetAllowedValue(String value, TypeDescription td) Gets the allowed value.Gets the built in type description.returns null if no feature by this name.protected AllowedValuegetLocalAllowedValue(TypeDescription td, AllowedValue unchangedAv) Gets the local allowed value.protected FeatureDescriptiongetLocalFeatureDefinition(TypeDescription td, String featureName) Gets the local feature definition.protected FeatureDescriptionGets the local feature definition.protected TypeDescriptionGets the local type definition.protected booleanisBuiltInFeature(String name, TypeDescription td) Checks if is built in feature.protected booleanisBuiltInType(String typeName) Checks if is built in type.protected booleanChecks if is built in type.protected booleanChecks if is imported allowed value.protected booleanisImportedFeature(String name, TypeDescription td) Checks if is imported feature.booleanisImportedType(String typeName) Checks if is imported type.protected booleanChecks if is imported type.protected booleanisLocalAllowedValue(String avString, TypeDescription td) Checks if is local allowed value.protected booleanisLocalFeature(String featureName, 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 booleanChecks 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
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
-