org.eclipse.xtext.formatting.IFormatter的实例源码

项目:xtext-extras    文件FormatterFragment.java   
@Override
public Set<Binding> getGuiceBindingsRt(Grammar grammar) {
    if(isGenerateStub())
        return new BindFactory().addTypetoType(IFormatter.class.getName(),getFormatterName(grammar,getNaming()))
            .getBindings();
    else
        return emptySet();
}
项目:dsl-devkit    文件FormatFragment.java   
/** {@inheritDoc} */
@Override
public Set<Binding> getGuiceBindingsRt(final Grammar grammar) {
  final BindFactory bindFactory = new BindFactory();
  bindFactory.addTypetoType(IFormatter.class.getName(),FormatGeneratorUtil.getFormatterName(grammar,""));
  bindFactory.addTypetoType(INodeModelFormatter.class.getName(),RegionNodeModelFormatter.class.getName());
  bindFactory.addTypetoType(INodeModelStreamer.class.getName(),DirectNodeModelStreamer.class.getName());
  return bindFactory.getBindings();
}
项目:OCCI-Studio    文件AbstractOCCIRuntimeModule.java   
public Class<? extends IFormatter> bindIFormatter() {
    return org.eclipse.cmf.occi.core.xtext.formatting.OCCIFormatter.class;
}
项目:xtext-extras    文件XbaseRuntimeModule.java   
@Deprecated
@Override
public Class<? extends IFormatter> bindIFormatter() {
  return XbaseFormatter.class;
}
项目:minitl    文件AbstractMinitlRuntimeModule.java   
public Class<? extends IFormatter> bindIFormatter() {
    return MinitlFormatter.class;
}
项目:xtext-core    文件Serializer.java   
@Inject
public Serializer(IParseTreeConstructor ptc,IFormatter fmt,IConcreteSyntaxValidator val) {
    this.parseTreeReconstructor = ptc;
    this.formatter = fmt;
    this.validator = val;
}
项目:xtext-core    文件Serializer.java   
protected IFormatter getFormatter() {
    return formatter;
}
项目:xtext-core    文件DefaultRuntimeModule.java   
public Class<? extends IFormatter> bindIFormatter() {
    return OneWhitespaceFormatter.class;
}
项目:xtext-core    文件XtextRuntimeModule.java   
@Override
public Class<? extends IFormatter> bindIFormatter() {
    return Xtextformatter.class;
}
项目:xtext-core    文件FormatterTestLanguageRuntimeModule.java   
@Override
public Class<? extends IFormatter> bindIFormatter() {
    return FormatterTestConfig.class;
}
项目:dsl-devkit    文件FormatterTestLanguageRuntimeModule.java   
/** {@inheritDoc} */
@Override
public Class<? extends IFormatter> bindIFormatter() {
  return FormatterTestConfig.class;
}
项目:DialogScriptDSL    文件DialogScriptRuntimeModule.java   
@Override
public Class<? extends IFormatter> bindIFormatter() {
    return DialogScriptFormatter.class;
}
项目:smaccm    文件AbstractInputConstraintRuntimeModule.java   
public Class<? extends IFormatter> bindIFormatter() {
    return InputConstraintFormatter.class;
}

相关文章

买水果
比较全面的redis工具类
gson 反序列化到多态子类
java 版本的 mb_strwidth
JAVA 反转字符串的最快方法,大概比StringBuffer.reverse()性...
com.google.gson.internal.bind.ArrayTypeAdapter的实例源码...