Package de.innovationgate.eclipse.editors.helpers

Examples of de.innovationgate.eclipse.editors.helpers.AttributeValueLookup


  }


  public Set<String> computeValues(TMLRegion region, IDocument document, ITextViewer viewer, IFile activeFile) {
    Set<String> allValues = new HashSet<String>(_values);
    AttributeValueLookup lookup = null;
    if (_valueLookupClass != null) {
      try {
        lookup = (AttributeValueLookup) Class.forName(_valueLookupClass.trim()).newInstance();
      } catch (Exception e) {
        Plugin.getDefault().logError("Unable to intitialize attribute value lookup '" + _valueLookupClass + "'.", e);
      }
    }
   
    if (lookup != null) {
      allValues.addAll(lookup.lookupValues(region, document, viewer, activeFile));
    }
   
    return allValues;
  }
View Full Code Here

TOP

Related Classes of de.innovationgate.eclipse.editors.helpers.AttributeValueLookup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.