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 | Protected Attributes | Static Package Functions | Private Member Functions | Private Attributes | Static Private Attributes

org::apache::uima::taeconfigurator::files::MultiResourceSelectionDialog Class Reference

Inheritance diagram for org::apache::uima::taeconfigurator::files::MultiResourceSelectionDialog:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::taeconfigurator::files::MultiResourceSelectionDialog:
Collaboration graph
[legend]

List of all members.

Classes

class  CandidateAndSource

Public Member Functions

void copyValuesFromGUI ()
void enableOK ()
int getHitColumn (TableItem item, Point p)
Object[] getResult ()
TypesWithNameSpaces getTypeSystemInfoList ()
void handleEvent (Event event)
boolean isValid ()
 MultiResourceSelectionDialog (Shell parentShell, IAdaptable rootElement, String message, IPath aExcludeDescriptor, MultiPageEditor aEditor)
Composite newButtonContainer (Composite parent)
Button newPushButton (Composite parent, String label, String tip)
void setMessage (String msg)
void setResult (List aResult)
void setTitle (String title)
void textModifyCallback (Event e)
boolean useQualifiedTypes ()

Static Public Member Functions

static String convertNull (String v)
static String nullIf0lengthString (String v)

Public Attributes

boolean isImportByName
IResource pickedResource

Static Public Attributes

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 String[] stringArray0 = new String[0]

Protected Member Functions

void buttonPressed (int buttonId)
void configureShell (Shell shell)
Control createButtonBar (Composite c)
void createButtonsForButtonBar (Composite parent)
Control createDialogArea (Composite parent)
Control createDialogArea (Composite parent, Object existing)
Label createWideLabel (Composite parent, String message)
String[] getAllTypesAsSortedArray ()
void localSetResult (ArrayList list)
Composite new2ColumnComposite (Composite parent)
Button newButton (Composite parent, int style, String name, String tip)
CCombo newCCombo (Composite parent, String tip)
Text newDescription (Composite twoCol, String tip)
void newErrorMessage (Composite c)
void newErrorMessage (Composite twoCol, int span)
CCombo newLabeledCCombo (Composite parent, String label, String tip)
Text newLabeledText (Composite parent, int style, String label, String tip)
Text newLabeledTypeInput (AbstractSection aSection, Composite parent, String label, String tip)
Table newTable (Composite parent, int style)
Text newText (Composite parent, int style, String tip)
Tree newTree (Composite parent, int style)
Text newTypeInput (AbstractSection aSection, Composite twoCol)
void setErrorMessage (String msg)
void setTextAndTip (Label c, String label, String tip)
void setTextAndTip (Button c, String label, String tip)
void setTextAndTip (CCombo c, String label, String tip)
void setupResourcesByLocation ()
void superButtonPressed (int buttonId)
boolean typeContainedInTypeSystemInfoList (String fullTypeName, TypesWithNameSpaces types)

Protected Attributes

String dialogDescription
MultiPageEditor editor
Label errorMessageUI
Button okButton
Tree resourcesUI
TreeColumn resourcesUIc1
TreeColumn resourcesUIc2
Object[] result
AbstractSection section
String title

Static Package Functions

 [static initializer]

Private Member Functions

void addClassCandidates (File dir, List< CandidateAndSource > candidates, String prefix, String source)
void addJarCandidates (String jarPath, List< CandidateAndSource > candidates, String source)
CandidateAndSource[] computeByNameCandidates ()
void setupResourcesByName ()

Private Attributes

Button browseButton
Button importByLocationUI
Button importByNameUI
FileFilter onlyDir
FilenameFilter onlyXml

Static Private Attributes

static Map< String, List
< CandidateAndSource > > 
cachedCs = new TreeMap<String, List<CandidateAndSource>>()
static final String PATH_SEPARATOR = System.getProperty("path.separator")
static Map< String, Long > sawJar = new TreeMap<String, Long>()

Detailed Description

Definition at line 61 of file MultiResourceSelectionDialog.java.


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

Generated by  Doxygen 1.6.0   Back to index