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

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


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

    TransUnitCompletionContext context = (TransUnitCompletionContext) getContext();
    CompletionRequestor req = context.getCompletionRequestor();
   
   
    if (!req.getClass().getName().contains("Symfony")) {
      return;     
    }
   
    IScriptProject project = context.getSourceModule().getScriptProject();
    SourceRange range = getReplacementRange(context);   
    String prefix = context.getPrefix();
   
    CodeassistUtils.reportTranslations(reporter, prefix, range, project );   

  }
View Full Code Here


        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.TransUnitCompletionContext

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.