Class FlowSection
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.FlowSection
- All Implemented Interfaces:
StandardStrings
,org.eclipse.swt.widgets.Listener
,org.eclipse.ui.forms.IFormPart
The Class FlowSection.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant CAPABILITY_LANGUAGE_FLOW.static final String
The Constant FIXED_FLOW.static final String
The Constant USER_DEFINED_FLOW.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
ConstructorDescriptionFlowSection
(MultiPageEditor aEditor, org.eclipse.swt.widgets.Composite parent) creates a section only for aggregate specifiers to define the flow of their delegates. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a node to the flowList.boolean
containsNode
(String node) Proofs if a node is contained in the list of nodes.void
enable()
Enables and disables section, enables and disables buttons after content.org.eclipse.swt.widgets.Button
Gets the down button.org.eclipse.swt.widgets.Table
Gets the flow list.org.eclipse.swt.widgets.Button
Gets the up button.void
handleEvent
(org.eclipse.swt.widgets.Event event) void
Handle remove.void
initialize
(org.eclipse.ui.forms.IManagedForm form) void
refresh()
void
Removes the all.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
-
FIXED_FLOW
The Constant FIXED_FLOW.- See Also:
-
CAPABILITY_LANGUAGE_FLOW
The Constant CAPABILITY_LANGUAGE_FLOW.- See Also:
-
USER_DEFINED_FLOW
The Constant USER_DEFINED_FLOW.- See Also:
-
-
Constructor Details
-
FlowSection
creates a section only for aggregate specifiers to define the flow of their delegates.- Parameters:
aEditor
- the referenced multipage 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
-
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event event) -
handleRemove
public void handleRemove()Handle remove. -
addNode
Adds a node to the flowList.- Parameters:
node
- the key of the delegate
-
enable
public void enable()Enables and disables section, enables and disables buttons after content.- Specified by:
enable
in classAbstractSection
-
containsNode
Proofs if a node is contained in the list of nodes.- Parameters:
node
- the node- Returns:
- whether the node is in the list or not
-
getDownButton
public org.eclipse.swt.widgets.Button getDownButton()Gets the down button.- Returns:
- the down button
-
getFlowList
public org.eclipse.swt.widgets.Table getFlowList()Gets the flow list.- Returns:
- the flow list
-
getUpButton
public org.eclipse.swt.widgets.Button getUpButton()Gets the up button.- Returns:
- the up button
-
removeAll
public void removeAll()Removes the all.
-