private static final String[] delegateComponentStringHeadersLC = new String[] {
"<analysisenginedescription", "<casconsumerdescription", "<taedescription" };
private void handleFindAnalysisEngine() {
FindComponentDialog dialog1 = new FindComponentDialog(
this,
"Find an Analysis Engine (AE), CAS Consumer, or Remote Service Descriptor",
"Specify a name pattern and/or additional constraints, and then push the Search button",
delegateComponentStringHeadersLC);
if (Window.CANCEL == dialog1.open())
return;
List matchingDelegateComponentDescriptors = dialog1.getMatchingDelegateComponentDescriptors();
List matchingDelegateComponentDescriptions = dialog1.getMatchingDelegateComponentDescriptions();
if (matchingDelegateComponentDescriptors.size() == 0) {
Utility.popMessage("No matching Delegate Components",
"There are no Delegate Components matching your search criteria.",
MessageDialog.ERROR);