Package com.dubture.symfony.core.codeassist.contexts

Examples of com.dubture.symfony.core.codeassist.contexts.TemplateVariableContext


  }

  @Override
  public void apply(ICompletionReporter reporter) throws Exception {

    TemplateVariableContext ctxt = (TemplateVariableContext) getContext();
    SourceRange range = getReplacementRange(getContext());
    String viewPath = ctxt.getViewPath();
   
    for(TemplateField element : ctxt.getVariables()) {

      if (viewPath.equals(element.getViewPath())) {
        reporter.reportField(new FakeField(element, element.getElementName(), Modifiers.AccPublic), "", range, false);
      }
    }
View Full Code Here


  public ICompletionContext[] createContexts() {

    return new ICompletionContext[] {
        new AnnotationCompletionContext(),
        new ServiceContainerContext(),
        new TemplateVariableContext(),
        new RouteCompletionContext(),
        new ViewPathArgumentContext(),
        new EntityCompletionContext(),
        new TransUnitCompletionContext(),
    };
View Full Code Here

TOP

Related Classes of com.dubture.symfony.core.codeassist.contexts.TemplateVariableContext

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.