@Override public void refresh() { super.refresh(); boolean isPrimitive = isPrimitive(); // select primitive or aggregate if (isAeDescriptor() || isCasConsumerDescriptor()) { primitiveButton.setSelection(isPrimitive); aggregateButton.setSelection(!isPrimitive); // select C++ or Java String implType = editor.getAeDescription().getFrameworkImplementation(); cppButton.setSelection(Constants.CPP_FRAMEWORK_NAME.equals(implType)); javaButton.setSelection(Constants.JAVA_FRAMEWORK_NAME.equals(implType)); } }
/** * Link local processing descriptors from ae. * * @param d the d */ private void linkLocalProcessingDescriptorsFromAe(CasConsumerDescription d) { d.setImplementationName(aeDescription.getAnnotatorImplementationName()); d.setFrameworkImplementation(aeDescription.getFrameworkImplementation()); linkCommonCollectionDescriptorsFromAe(d); }
/** * Link local processing descriptors from ae. * * @param d the d */ // ************************************************************** private void linkLocalProcessingDescriptorsFromAe(CollectionReaderDescription d) { d.setImplementationName(aeDescription.getAnnotatorImplementationName()); d.setFrameworkImplementation(aeDescription.getFrameworkImplementation()); linkCommonCollectionDescriptorsFromAe(d); }
/** * Link local processing descriptors from ae. * * @param d the d */ private void linkLocalProcessingDescriptorsFromAe(CasInitializerDescription d) { d.setImplementationName(aeDescription.getAnnotatorImplementationName()); d.setFrameworkImplementation(aeDescription.getFrameworkImplementation()); linkCommonCollectionDescriptorsFromAe(d); }
/** * Link local processing descriptors from ae. * * @param d the d */ private void linkLocalProcessingDescriptorsFromAe(FlowControllerDescription d) { d.setImplementationName(aeDescription.getAnnotatorImplementationName()); d.setFrameworkImplementation(aeDescription.getFrameworkImplementation()); linkCommonCollectionDescriptorsFromAe(d); }
if (resourceSpecifier instanceof AnalysisEngineDescription) { frameworkName = ((AnalysisEngineDescription) resourceSpecifier) .getFrameworkImplementation(); implementationClass = ((AnalysisEngineDescription) resourceSpecifier) .getImplementationName();
String implKind = editor.getAeDescription().getFrameworkImplementation(); if (Constants.CPP_FRAMEWORK_NAME.equals(implKind)) { implNameLabel.setText("Name of the .dll file");
String className = null; try { String implKind = editor.getAeDescription().getFrameworkImplementation(); if (Constants.CPP_FRAMEWORK_NAME.equals(implKind)) { FileDialog dialog = new FileDialog(getSection().getShell(), SWT.NONE);
final String fwImpl = mDescription.getFrameworkImplementation(); if (!fwImpl.startsWith(Constants.JAVA_FRAMEWORK_NAME)) { return false;
editor.getAeDescription().setFrameworkImplementation( setValueChanged(Constants.CPP_FRAMEWORK_NAME, editor.getAeDescription() .getFrameworkImplementation())); } else { editor.getAeDescription().setFrameworkImplementation( setValueChanged(Constants.JAVA_FRAMEWORK_NAME, editor.getAeDescription() .getFrameworkImplementation()));