Package org.epic.perleditor.templates.perl

Examples of org.epic.perleditor.templates.perl.PerlUnitContext.canEvaluate()


//    Template[] templates= Templates.getInstance().getTemplates();
  String subroutine = null;
    for (int i= 0; i != identifiers.length; i++) {
      subroutine = (String) identifiers[i];
       
      if (context.canEvaluate(subroutine, false)) {
        fProposals.add(new VariableProposal(subroutine, context, region, viewer, PerlPluginImages.get(PerlPluginImages.IMG_ICON_VARIABLE), PerlPluginImages.get(PerlPluginImages.IMG_ICON_VARIABLE)));
    }
  }
  }
View Full Code Here


//    Template[] templates= Templates.getInstance().getTemplates();
    String subroutine = null;
    for (int i= 0; i != identifiers.length; i++) {
      subroutine = (String) identifiers[i];
       
      if (context.canEvaluate(subroutine, true)) {
        fProposals.add(new SubroutineProposal(subroutine, context, region, viewer, PerlPluginImages.get(PerlPluginImages.IMG_ICON_SUBROUTINE), PerlPluginImages.get(PerlPluginImages.IMG_ICON_SUBROUTINE)));
      }
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.