Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Static Package Functions | Private Member Functions | Static Private Member Functions | Private Attributes

org::apache::uima::taeconfigurator::editors::ui::ParameterDelegatesSection Class Reference

Inheritance diagram for org::apache::uima::taeconfigurator::editors::ui::ParameterDelegatesSection:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::taeconfigurator::editors::ui::ParameterDelegatesSection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Import createByNameImport (String fileName)
Import createImport (String fileName, boolean isByName)
Import createLocationImport (String location) throws MalformedURLException
void disposeAllChildItems (TreeItem parent)
void enable ()
void enableBorders (Composite composite)
String formatName (String name)
AnalysisEngineMetaData getAnalysisEngineMetaData ()
String[] getAvailableTypeNames (Set excluded)
Capability[] getCapabilities ()
String[][] getCapabilitySofaNames ()
ConfigGroup getConfigGroupFromTreeItem (TreeItem item)
ConfigurationParameterDeclarations getConfigurationParameterDeclarations ()
ConfigurationParameter getConfigurationParameterFromTreeItem (TreeItem item)
ConfigurationParameterSettings getConfigurationParameterSettings ()
Map getDelegateAnalysisEngineSpecifiersWithImports ()
ExternalResourceBinding[] getExternalResourceBindings ()
ExternalResourceDependency[] getExternalResourceDependencies ()
ExternalResourceDescription[] getExternalResources ()
FeatureDescription getFeature (TypeDescription td, String featureName)
FlowControllerDeclaration getFlowControllerDeclaration ()
ResourceMetaData getMetaDataFromDescription (ResourceSpecifier o)
ConfigurationParameterSettings getModelSettings ()
OperationalProperties getOperationalProperties ()
ResourceManagerConfiguration getResourceManagerConfiguration ()
SofaMapping[] getSofaMappings ()
FormToolkit getToolkit ()
void handleEvent (Event event)
void initialize (IManagedForm form)
boolean isAeDescriptor ()
boolean isAggregate ()
boolean isCasConsumerDescriptor ()
boolean isCasInitializerDescriptor ()
boolean isCollectionReaderDescriptor ()
boolean isExtResAndBindingsDescriptor ()
boolean isFlowControllerDescriptor ()
boolean isIndexDescriptor ()
boolean isLocalProcessingDescriptor ()
boolean isParmGroup ()
boolean isPrimitive ()
boolean isTypePriorityDescriptor ()
boolean isTypeSystemDescriptor ()
void markStale (IFormPart section)
Composite new2ColumnComposite (Composite parent)
Composite new3ColumnComposite (Composite parent)
Composite new4ColumnComposite (Composite parent)
Composite newButtonContainer (Composite parent)
Composite newButtonContainer (Composite parent, int style, int widthMin)
Button newCheckBox (Composite parent, String label, String tip)
Composite newComposite (Composite parent)
Label newLabelWithData (Composite parent, String text)
Label newLabelWithTip (Composite parent, String text, String tip)
Label newLabelWithTip (Composite parent, String text, String tip, int style)
Composite newNcolumnComposite (Composite parent, int cols)
Button newPushButton (Composite parent, String label, String tip)
Button newPushButton (Composite parent, String label, String tip, boolean enabled)
Button newPushButton (Composite parent, String label, String tip, boolean enabled, int style)
Button newRadioButton (Composite parent, String label, String toolTip, boolean selected)
Label newUnUpdatableTextWithTip (Composite parent, String text, String tip)
void packTable (Table table)
 ParameterDelegatesSection (MultiPageEditor editor, Composite parent)
void refresh ()
void removeCommonParmSettingsFromMultipleGroups ()
void removeIncludedParmSettingsFromMultipleGroups (String[] groupNames, ConfigurationParameter[] cps)
void removeIncludedParmSettingsFromSingleGroup (String groupName, ConfigurationParameter[] cps)
void removeParmSettingFromMultipleGroups (TreeItem parmItem, boolean removeFromGUI)
void setFlowControllerDeclaration (FlowControllerDeclaration fcd)
void setMargins (Composite composite, int height, int width)
void setSettings (ParameterSettingsSection v)
String[] stringArrayAdd (String[] a, String s)
String[] stringArrayRemove (String[] a, String s)
TypeOrFeature[] typeOrFeatureArrayAdd (TypeOrFeature[] a, TypeOrFeature item)
TypeOrFeature[] typeOrFeatureArrayRemove (TypeOrFeature[] a, String s)
TypeOrFeature[] typeOrFeatureArrayRemove (TypeOrFeature[] a, TypeOrFeature item)
void updateParmInSettingsGUI (ConfigurationParameter existingCP, TreeItem existingTreeItem, String prevName)

Static Public Member Functions

static String convertNull (String s)
static void copyTableItem (TableItem target, TableItem source)
static void copyTableTreeItem (TableTreeItem target, TableTreeItem source)
static Capability[] getCapabilities (ResourceSpecifier rs)
static FsIndexDescription getFsIndexDescriptionFromTableTreeItem (TableTreeItem item)
static int getIndex (TableTreeItem item)
static int getIndex (TableItem item)
static String getNameSpace (String name)
static String getOverridingParmName (String override, ConfigurationParameterDeclarations cpd)
static String getShortFeatureName (String name)
static String getShortName (String name)
static SofaMapping[] getSofaMappings (MultiPageEditor pEditor)
static String getTypeFromFullFeatureName (String name)
static TypeOrFeature getTypeOrFeature (TypeOrFeature[] a, String name)
static String groupNameArrayToString (String[] strings)
static String handleDefaultIndexKind (String indexKind)
static boolean isArrayOrListType (String type)
static boolean isFSArrayOrListType (String type)
static boolean isIndexableRange (String rangeName)
static String maybeShortenFileName (String filePathName)
static XMLizable parseDescriptor (XMLInputSource input) throws InvalidXMLException
static boolean revertOrContinue (String msg, String msgDetails)
static void setToolTipText (Control w, String text)
static void setVnsHostAndPort (String vnsHost, String vnsPort)
static void setVnsHostAndPort (Object descriptor)
static void spacer (Composite container)
static void swapIndexKeys (TableTreeItem itemBelow, int newSelection)
static void swapTableItems (TableItem itemBelow, int newSelection)
static void swapTableTreeItems (TableTreeItem itemBelow, int newSelection)

Public Attributes

MultiPageEditor editor

Static Public Attributes

static final Capability[] capabilityArray0 = new Capability[0]
static final String COMMON_GROUP = Messages.getString("AbstractSectionParm.common")
static final ConfigurationGroup[] configurationGroup0 = new ConfigurationGroup[0]
static final ConfigurationGroup[] configurationGroupArray0 = new ConfigurationGroup[0]
static final
ConfigurationParameter[] 
configurationParameter0 = new ConfigurationParameter[0]
static final
ConfigurationParameter[] 
configurationParameterArray0 = new ConfigurationParameter[0]
static final boolean ENABLED = true
static final boolean EQUAL_WIDTH = true
static final
ExternalResourceBinding[] 
externalResourceBinding0 = new ExternalResourceBinding[0]
static final
ExternalResourceDescription[] 
externalResourceDescription0 = new ExternalResourceDescription[0]
static final FeatureDescription[] featureDescriptionArray0 = new FeatureDescription[0]
static final FsIndexDescription[] fsIndexDescription0 = new FsIndexDescription[0]
final static int HEADER_VISIBLE = 2
static final int HORIZONTAL_BUTTONS = 2
static final String IMPORTABLE_PART_CONTEXT = "ipc"
final static int LINES_VISIBLE = 1
static final NameValuePair[] nameValuePairArray0 = new NameValuePair[0]
final static int NO_MIN_HEIGHT = -1
static final String NOT_IN_ANY_GROUP
static final boolean NOT_SELECTED = false
final static int NOTHING_SELECTED = -1
static final String PLUGIN_ID = "org.apache.uima.desceditor"
static final String S_ = ""
static final String S_ADD = "Add..."
static final String S_DESCRIPTION = "Description:"
static final String S_DOWN = "Down"
static final String S_DOWN_TIP = "Click here to move the selected item down by one."
static final String S_EDIT = "Edit..."
static final String S_EDIT_TIP = "Click here to edit the selected item. You can also double-click the item to edit it."
static final String S_EXPORT = "Export..."
static final String S_EXPORT_TIP = "Export to an importable part, and substitute an Import for that part here"
static final String S_REMOVE = "Remove"
static final String S_REMOVE_TIP = "Click here to remove the selected item. You can also use the delete key."
static final String S_UP = "Up"
static final String S_UP_TIP = "Click here to move the selected item up by one."
static final boolean SELECTED = true
static final SofaMapping[] sofaMapping0 = new SofaMapping[0]
static final String[] stringArray0 = new String[0]
static final TreeItem[] treeItemArray0 = new TreeItem[0]
static final TypeDescription[] typeDescription0 = new TypeDescription[0]
static final TypePriorityList[] typePriorityList0 = new TypePriorityList[0]
static final int VERTICAL_BUTTONS = 1
final static int WIDTH_NOT_SPECIFIED = 0

Protected Member Functions

Capability addCapabilitySet ()
TreeItem addGroupToGUI (String names, ConfigurationGroup cg)
void addListenerForPastableWidget (Widget w)
void addNewConfigurationParameterToGUI (ConfigurationParameter newCP, TreeItem group)
void clearAndRefillTree (boolean usingGroups)
void fill (ConfigurationParameter[] parms, TreeItem group)
void fillOverrides (TreeItem parent, ConfigurationParameter modelCP)
void fillParmItem (TreeItem item, ConfigurationParameter parm)
void finishAggregateChangeAction ()
String[] getAllGroupNames ()
String[] getAllGroupNames (ConfigurationParameterDeclarations aCpd)
ConfigGroup getCorrespondingModelGroup (TreeItem item)
ConfigurationParameter getCorrespondingModelParm (TreeItem item)
String getDescriptionForDescriptor (String fileRef, ResourceSpecifier rs)
FsIndexCollection getFsIndexCollection ()
int getItemIndex (TreeItem parent, TreeItem child)
int getItemIndex (Tree parent, TreeItem child)
int getItemIndex (TreeItem[] items, TreeItem item)
TypeSystemDescription getMergedTypeSystemDescription ()
String getName (String s)
String getName (TreeItem item)
TreeItem getPreviousSelection (TreeItem[] items, TreeItem nextItem)
TreeItem[] getSettingsGroups (TreeItem group)
TreeItem getSettingsGroupTreeItemByName (String name)
TreeItem[] getSettingsParameter (TreeItem containingGroup, String sourceItemName)
TypePriorities getTypePriorities ()
TypeSystemDescription getTypeSystemDescription ()
String[] groupNamesToArray (String names)
boolean isCommonGroup (TreeItem item)
boolean isCommonGroupSelection ()
boolean isDelegate (TreeItem item)
boolean isGroup (TreeItem item)
boolean isGroupSelection ()
boolean isNOT_IN_ANY_GROUP (TreeItem item)
boolean isOverride (TreeItem item)
boolean isOverrideSelection ()
boolean isParameter (TreeItem item)
boolean isParmSelection ()
boolean isValidAe ()
boolean isValidAggregateChange ()
void markRestOfPageStale (IManagedForm mform, AbstractSection section)
void markStaleIfDifferent (IFormPart thisOne, IFormPart otherOne)
String multiLineFix (String s)
CCombo newCComboWithTip (Composite parent, String tip)
Text newDescriptionTextBox (Composite parent, String tip)
CCombo newLabeledCComboWithTip (Composite parent, String labelKey, String tip)
Text newLabeledTextField (Composite parent, String labelKey, String textToolTip, int style)
Text newLabeledTextField (Composite parent, String label, String tip)
Table newTable (Composite parent, int style, int minHeight, int flags)
Table newTable (Composite parent)
Table newTable (Composite parent, int style, int minHeight)
TableColumn newTableColumn (Table table)
TableColumn newTableColumn (Table container, String header)
TableColumn newTableColumn (Table container, int width)
TableColumn newTableColumn (Table container, int width, int alignment, String header)
TableTree newTableTree (Composite parent, int style)
Text newTextWithTip (Composite parent, String initialTxt, String tip)
Text newTextWithTip (Composite parent, String text, int style, String tip)
Tree newTree (Composite parent)
String parmGuiString (ConfigurationParameter parm)
String produceUniqueComponentKey (String fileName)
XMLizable readImport (Import imp, String fileName, boolean isImportByName)
void removeChildren (TreeItem item)
void removeChildren (TableTreeItem item)
void requestPopUpOverImport (Import importItem, Control control, Event event)
void revertMsg (String msgTitle, String msgTxt, String exceptionMessage)
void revertTypeSystem (TypeSystemDescription tsd)
void setFileDirty ()
void setGroupText (TreeItem groupItem, String names)
PrintWriter setupToPrintFile (String filePath)
String setValueChanged (String newValue, String oldValue)
boolean setValueChangedBoolean (boolean newValue, boolean oldValue)
Boolean setValueChangedCapitalBoolean (Boolean newValue, Boolean oldValue)
int setValueChangedInt (int newValue, int oldValue)
FsIndexKeyDescription[] setValueChangedKeys (FsIndexKeyDescription[] newKeys, FsIndexKeyDescription[] oldKeys)
void showDescriptionAsToolTip (Event event)
void showExceptionReadingImportedDescriptor (Exception e)

Static Protected Member Functions

static void enableCtrl (Control c, boolean enabled)
static Set[] getCapabilitySofaNames (ResourceCreationSpecifier rs, String componentKey)
static String parseToFitInToolTips (String text)
static void setButtonSelection (Button c, boolean selected)

Protected Attributes

ConfigurationParameter[] commonParms
ConfigurationParameterDeclarations cpd
Map groupParms
int initialFormWidth
final String nameHeader = " Name: "
final String OVERRIDE_HEADER = Messages.getString("AbstractSectionParm.overrides")
Tree parameterSectionTree = null
ParameterSettingsSection settings = null
Tree settingsTree = null
boolean showOverrides
boolean splitGroupNames
FormToolkit toolkit
Tree tree
boolean valueChanged

Static Protected Attributes

static final String COMMON_GROUP_HEADER
static final String DELEGATE_HEADER
static final String FLOWCTLR_HEADER = "Flow Controller Key Name: "
static final String GROUP_HEADER
static final String MULTI_VALUE_INDICATOR = "Multi "
static final String NOT_IN_ANY_GROUP_HEADER
static final String OPTIONAL_INDICATOR = "Opt "
static final String REQUIRED_INDICATOR = "Req "
static final String SINGLE_VALUE_INDICATOR = "Single "
static final Map typeNamesW = new HashMap(4)

Static Package Functions

 [static initializer]

Private Member Functions

void addAllGroups (TreeItem[] items)
void addAllParameters (TreeItem[] items)
void addDelegateGroupsToGUI (TreeItem parent, ResourceCreationSpecifier delegate)
void addDelegateGroupToGUI (TreeItem parent, ConfigGroup cg)
void addDelegateParmOverridesToGUI (TreeItem parent, String[] overrides)
void addDelegateParmsToGUI (TreeItem parent, ConfigurationParameter[] cps)
void addDelegateToGUI (String key, ResourceSpecifier delegate)
void addDelegateToGUI (Map.Entry entry)
void addNewParameter (TreeItem item)
void addNewParameter (ConfigurationParameter parm, ConfigGroup delegateGroup, String key)
void addOverrides (boolean nonShared)
void addParmNames (List list, ConfigurationParameter[] parms)
String generateUniqueName (String name)
ConfigGroup getCorrespondingModelGroup (ConfigGroup delegateGroup)
ConfigGroup getCorrespondingModelGroup (String[] nameArray)
String getKeyNameFromTreeItem (TreeItem item)
int getOverrideIndex (ConfigurationParameter parm, String override)
ConfigurationParameter getSameNamedParmInGroup (ConfigurationParameter parm, ConfigGroup group)
boolean parmSpecMatches (ConfigurationParameter p, ConfigurationParameter q)
boolean setEquals (Object[] a, Object[] b)

Static Private Member Functions

static String getOverridingParmName (String override, ConfigurationParameter[] cps)

Private Attributes

boolean createNonSharedOverride
Button createNonSharedOverrideButton
Button createOverrideButton
ParameterSection parmSection
Composite sectionClient

Detailed Description

Definition at line 48 of file ParameterDelegatesSection.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index