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

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

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

Inheritance diagram for org::apache::uima::taeconfigurator::editors::ui::TypeSection:
Inheritance graph
Collaboration diagram for org::apache::uima::taeconfigurator::editors::ui::TypeSection:
Collaboration graph

List of all members.


class  CapabilityVisitor
class  TypeFeature

Public Member Functions

void allowedValueUpdate (AllowedValue av, AddAllowedValueDialog dialog)
String checkAllowedValue (AddAllowedValueDialog dialog, TypeDescription td, AllowedValue av)
String checkDuplTypeName (String newTypeName)
String checkFeature (AddFeatureDialog dialog, TypeDescription td, FeatureDescription oldFd)
Import createByNameImport (String fileName)
Import createImport (String fileName, boolean isByName)
Import createLocationImport (String location) throws MalformedURLException
void enable ()
void enableBorders (Composite composite)
void featureUpdate (FeatureDescription fd, AddFeatureDialog dialog)
String formatName (String name)
AllowedValue getAllowedValue (String value, TypeDescription td)
AllowedValue getAllowedValueFromTableTreeItem (TableTreeItem item)
AnalysisEngineMetaData getAnalysisEngineMetaData ()
String[] getAvailableTypeNames (Set excluded)
TypeDescription getBuiltInTypeDescription (TypeDescription td)
Capability[] getCapabilities ()
String[][] getCapabilitySofaNames ()
ConfigurationParameterDeclarations getConfigurationParameterDeclarations ()
Map getDelegateAnalysisEngineSpecifiersWithImports ()
ExternalResourceBinding[] getExternalResourceBindings ()
ExternalResourceDependency[] getExternalResourceDependencies ()
ExternalResourceDescription[] getExternalResources ()
FeatureDescription getFeature (TypeDescription td, String featureName)
FeatureDescription getFeatureDescriptionFromTableTreeItem (TableTreeItem item)
FeatureDescription getFeatureFromTypeDescription (String name, TypeDescription td)
FlowControllerDeclaration getFlowControllerDeclaration ()
ResourceMetaData getMetaDataFromDescription (ResourceSpecifier o)
OperationalProperties getOperationalProperties ()
ResourceManagerConfiguration getResourceManagerConfiguration ()
SofaMapping[] getSofaMappings ()
FormToolkit getToolkit ()
TypeDescription getTypeDescriptionFromTableTreeItem (TableTreeItem item)
void handleAddAllowedValue (TableTreeItem parent)
void handleAddFeature (TableTreeItem parent)
void handleAddType ()
void handleEvent (Event event)
void handleHover (Event event)
void initialize (IManagedForm form)
boolean isAeDescriptor ()
boolean isAggregate ()
boolean isCasConsumerDescriptor ()
boolean isCasInitializerDescriptor ()
boolean isCollectionReaderDescriptor ()
boolean isExtResAndBindingsDescriptor ()
boolean isFlowControllerDescriptor ()
boolean isImportedType (String typeName)
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, int style)
Label newLabelWithTip (Composite parent, String text, String tip)
Composite newNcolumnComposite (Composite parent, int cols)
Button newPushButton (Composite parent, String label, String tip, boolean enabled, int style)
Button newPushButton (Composite parent, String label, String tip)
Button newPushButton (Composite parent, String label, String tip, boolean enabled)
Button newRadioButton (Composite parent, String label, String toolTip, boolean selected)
Label newUnUpdatableTextWithTip (Composite parent, String text, String tip)
void packTable (Table table)
void refresh ()
void setFlowControllerDeclaration (FlowControllerDeclaration fcd)
void setMargins (Composite composite, int height, int width)
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)
 TypeSection (MultiPageEditor editor, Composite parent)

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 (TableItem item)
static int getIndex (TableTreeItem item)
static String getNameSpace (String name)
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 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 int AV_COL = 1
static final Capability[] capabilityArray0 = new Capability[0]
static final String CASCADE_DELETE_WARNING = "Cascade Delete Warning"
static final String CASCADE_MESSAGE = "built-in or imported type or feature of the same name. Ok to continue?"
static final ConfigurationGroup[] configurationGroup0 = new ConfigurationGroup[0]
static final ConfigurationGroup[] configurationGroupArray0 = new ConfigurationGroup[0]
static final
configurationParameter0 = new ConfigurationParameter[0]
static final
configurationParameterArray0 = new ConfigurationParameter[0]
static final int ELEMENT_TYPE_COL = 3
static final boolean ENABLED = true
static final boolean EQUAL_WIDTH = true
static final
externalResourceBinding0 = new ExternalResourceBinding[0]
static final
externalResourceDescription0 = new ExternalResourceDescription[0]
static final FeatureDescription[] featureDescriptionArray0 = new FeatureDescription[0]
static final FsIndexDescription[] fsIndexDescription0 = new FsIndexDescription[0]
static final String HEADER_ALLOWED_VALUE = "Allowed Value:"
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 int MULTIPLE_REF_OK_COL = 2
static final int NAME_COL = 0
static final NameValuePair[] nameValuePairArray0 = new NameValuePair[0]
final static int NO_MIN_HEIGHT = -1
static final boolean NOT_SELECTED = false
final static int NOTHING_SELECTED = -1
static final String PLUGIN_ID = "org.apache.uima.desceditor"
static final int RANGE_COL = 1
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 int SUPER_COL = 1
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 ()
void addListenerForPastableWidget (Widget w)
void finishAggregateChangeAction ()
String getDescriptionForDescriptor (String fileRef, ResourceSpecifier rs)
FsIndexCollection getFsIndexCollection ()
int getItemIndex (TreeItem[] items, TreeItem item)
AllowedValue getLocalAllowedValue (TypeDescription td, AllowedValue unchangedAv)
FeatureDescription getLocalFeatureDefinition (TypeDescription td, FeatureDescription fd)
FeatureDescription getLocalFeatureDefinition (TypeDescription td, String featureName)
TypeDescription getLocalTypeDefinition (TypeDescription td)
TypeSystemDescription getMergedTypeSystemDescription ()
TreeItem getPreviousSelection (TreeItem[] items, TreeItem nextItem)
TypePriorities getTypePriorities ()
TypeSystemDescription getTypeSystemDescription ()
boolean isBuiltInFeature (String name, TypeDescription td)
boolean isBuiltInType (TypeDescription td)
boolean isBuiltInType (String typeName)
boolean isImportedAllowedValue (TypeDescription td, AllowedValue av)
boolean isImportedFeature (String name, TypeDescription td)
boolean isImportedType (TypeDescription td)
boolean isLocalAllowedValue (String avString, TypeDescription td)
boolean isLocalFeature (String featureName, TypeDescription td)
boolean isLocalItem (TableTreeItem item)
boolean isLocalType (TypeDescription td)
boolean isLocalType (String typeName)
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 label, String tip)
Text newLabeledTextField (Composite parent, String labelKey, String textToolTip, int style)
Table newTable (Composite parent, int style, int minHeight)
Table newTable (Composite parent)
Table newTable (Composite parent, int style, int minHeight, int flags)
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 produceUniqueComponentKey (String fileName)
XMLizable readImport (Import imp, String fileName, boolean isImportByName)
void removeChildren (TableTreeItem item)
void removeChildren (TreeItem item)
void requestPopUpOverImport (Import importItem, Control control, Event event)
void revertMsg (String msgTitle, String msgTxt, String exceptionMessage)
void revertTypeSystem (TypeSystemDescription tsd)
void setFileDirty ()
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 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

int initialFormWidth
FormToolkit toolkit
boolean valueChanged

Static Package Functions

 [static initializer]

Private Member Functions

void addAllowedValue (TypeDescription td, AllowedValue av)
void addFeaturesToGui (TypeDescription td, TableTreeItem item, FeatureDescription[] features)
void addTypeToGUI (TypeDescription td)
void alterFeatureMentions (final String sOldFeatureName, final String sNewFeatureName, final String typeName)
void alterTypeMentions (final String sOldTypeName, final String sNewTypeName)
boolean alterTypeMentionsInOtherTypes (String oldTypeName, String newTypeName)
boolean capabilityVisit (CapabilityVisitor v)
TypeFeature[] computeFeaturesToRemove (TypeDescription localTd, TypeDescription mergedTd)
TypeOrFeature[] deleteTypeOrFeatureFromCapability (TypeOrFeature[] io_s, final boolean isType, String name, String typeName)
void deleteTypeOrFeatureMentions (final String typeOrFeatureName, boolean isType, final String typeName)
void editAllowedValue (TableTreeItem item, TableTreeItem parent)
void editFeature (TableTreeItem item, TableTreeItem parent)
void editType (TableTreeItem item)
void finishAction ()
void finishActionPack ()
String[] getTypesRequiringThisOne (String typeName)
void handleEdit ()
void handleRemove ()
void handleRemoveAllowedValue (TableTreeItem item)
void handleRemoveFeature (TableTreeItem item)
void handleRemoveType (TableTreeItem item)
boolean isFeatureInUseElsewhere (TypeDescription td, String featureName)
boolean isFeatureInUseElsewhere (final String typePlusFeature)
boolean isFeatureUsedInIndex (String fullFeatureName)
boolean isFeatureUsedInIndex (TypeDescription td, String featureName)
boolean isSubtypeOfString (TableTreeItem item)
boolean isTypeInUseElsewhere (final String sTypeName)
String newFeatureTests (TypeDescription td, AddFeatureDialog dialog)
void rebuildMergedTypeSystem ()
void removeAllowedValue (TypeDescription td, AllowedValue av)
void removeFeature (TypeDescription td, FeatureDescription fd)
void removeType (TypeDescription td, TypeSystemDescription tsd)
void selectTypeInGui (TypeDescription td)
FeatureDescription[] setDifference (FeatureDescription[] all, FeatureDescription[] subset)
void setItemColor (TableTreeItem item, boolean isLocal)
void setNamedFeatureDescriptionRange (FeatureDescription[] localFds, String featureName, final String rangeName)
String[] showTypesRequiringThisOneMessage (String existingTypeName, boolean allowed)
boolean typePriorityListsVisit (int kind, String typeName)
boolean typePriorityListsVisit (int kind, String typeName, String newTypeName)
boolean typeRequiresType (TypeDescription upstreamType, String typeName)
void typeUpdate (TypeDescription td, AddTypeDialog dialog)
void updateGuiFeature (TableTreeItem fItem, FeatureDescription fd, TypeDescription td)
void updateGuiType (TableTreeItem item, TypeDescription td)
boolean warnAndSkipIfImported (String typeName)

Private Attributes

Button addButton
Button addTypeButton
Button editButton
Button exportButton
Button jcasGenButton
Button removeButton
TableTree tt

Static Private Attributes

static final boolean ALLOWED = true
static final Comparator capabilityFeatureCompare
static final Comparator capabilityTypeCompare
static final boolean FEATURES = false
static final int FIND_EQUAL_TYPE = 1
static final Comparator fsIndexDescCompare
static final Comparator fsIndexKeyDescCompare
static final int REMOVE_EQUAL_TYPE = 2
static final TypeFeature[] typeFeature0 = new TypeFeature[0]
static final boolean TYPES = true
static final int UPDATE_TYPE_NAME = 4

Detailed Description

Definition at line 82 of file TypeSection.java.

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

Generated by  Doxygen 1.6.0   Back to index