Class CapabilitySection
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.CapabilitySection
- All Implemented Interfaces:
- StandardStrings,- org.eclipse.swt.widgets.Listener,- org.eclipse.ui.forms.IFormPart
The Class CapabilitySection.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe Constant ALL_FEATURES.static final intThe Constant INPUT_COL.static final intThe Constant NAME_COL.static final intThe Constant NAMESPACE_COL.static final intThe Constant OUTPUT_COL.static final intThe Constant TITLE_COL.Fields inherited from class org.apache.uima.taeconfigurator.editors.ui.AbstractSectioncapabilityArray0, 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.StandardStringsS_, 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 SummaryConstructorsConstructorDescriptionCapabilitySection(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent) Instantiates a new capability section.
- 
Method SummaryModifier and TypeMethodDescriptionvoidenable()Enable.getCapabilityFromTreeItem(org.eclipse.swt.widgets.TreeItem item) Gets the capability from table tree item.getFullyQualifiedName(String namespace, String name) Gets the fully qualified name.getFullyQualifiedName(org.eclipse.swt.widgets.TreeItem item) Gets the fully qualified name.Gets the type name from full feature name.voidhandleEvent(org.eclipse.swt.widgets.Event event) voidinitialize(org.eclipse.ui.forms.IManagedForm form) static booleanisInput(String fullFeatureName, Capability c) Checks if is input.static booleanisOutput(String fullFeatureName, Capability c) Checks if is output.voidrefresh()Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.AbstractSectionaddCapabilitySet, 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, typeOrFeatureArrayRemoveMethods inherited from class org.eclipse.ui.forms.SectionPartexpansionStateChanged, expansionStateChanging, getSection, hookListeners, setFocusMethods inherited from class org.eclipse.ui.forms.AbstractFormPartcommit, dispose, getManagedForm, isDirty, isStale, markDirty, markStale, setFormInput
- 
Field Details- 
ALL_FEATURESThe Constant ALL_FEATURES.- See Also:
 
- 
TITLE_COLpublic static final int TITLE_COLThe Constant TITLE_COL.- See Also:
 
- 
NAME_COLpublic static final int NAME_COLThe Constant NAME_COL.- See Also:
 
- 
INPUT_COLpublic static final int INPUT_COLThe Constant INPUT_COL.- See Also:
 
- 
OUTPUT_COLpublic static final int OUTPUT_COLThe Constant OUTPUT_COL.- See Also:
 
- 
NAMESPACE_COLpublic static final int NAMESPACE_COLThe Constant NAMESPACE_COL.- See Also:
 
 
- 
- 
Constructor Details- 
CapabilitySectionInstantiates a new capability section.- Parameters:
- aEditor- the a editor
- parent- the parent
 
 
- 
- 
Method Details- 
initializepublic void initialize(org.eclipse.ui.forms.IManagedForm form) - Specified by:
- initializein interface- org.eclipse.ui.forms.IFormPart
- Overrides:
- initializein class- AbstractSection
 
- 
refreshpublic void refresh()- Specified by:
- refreshin interface- org.eclipse.ui.forms.IFormPart
- Overrides:
- refreshin class- org.eclipse.ui.forms.AbstractFormPart
 
- 
getTypeNameFromFullFeatureNameGets the type name from full feature name.- Parameters:
- name- the name
- Returns:
- the type name from full feature name
 
- 
handleEventpublic void handleEvent(org.eclipse.swt.widgets.Event event) 
- 
isInputChecks if is input.- Parameters:
- fullFeatureName- the full feature name
- c- the c
- Returns:
- true, if is input
 
- 
isOutputChecks if is output.- Parameters:
- fullFeatureName- the full feature name
- c- the c
- Returns:
- true, if is output
 
- 
getCapabilityFromTreeItemGets the capability from table tree item.- Parameters:
- item- the item
- Returns:
- the capability from table tree item
 
- 
getFullyQualifiedNameGets the fully qualified name.- Parameters:
- item- the item
- Returns:
- the fully qualified name
 
- 
getFullyQualifiedNameGets the fully qualified name.- Parameters:
- namespace- the namespace
- name- the name
- Returns:
- the fully qualified name
 
- 
enablepublic void enable()Description copied from class:AbstractSectionEnable.- Specified by:
- enablein class- AbstractSection
 
 
-