当前位置: 首页>>代码示例>>Java>>正文


Java Constants类代码示例

本文整理汇总了Java中org.eclipse.xtext.Constants的典型用法代码示例。如果您正苦于以下问题:Java Constants类的具体用法?Java Constants怎么用?Java Constants使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Constants类属于org.eclipse.xtext包,在下文中一共展示了Constants类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("de.baernreuther.dsls.Pkmntcgo");
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:4,代码来源:AbstractPkmntcgoRuntimeModule.java

示例2: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("ptcgo");
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:5,代码来源:AbstractPkmntcgoRuntimeModule.java

示例3: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.ts.TypeExpressions");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractTypeExpressionsRuntimeModule.java

示例4: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("n4ts");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:AbstractTypeExpressionsRuntimeModule.java

示例5: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.ts.Types");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractTypesRuntimeModule.java

示例6: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.common.unicode.Unicode");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractUnicodeRuntimeModule.java

示例7: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("unicode");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:AbstractUnicodeRuntimeModule.java

示例8: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.regex.RegularExpression");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractRegularExpressionRuntimeModule.java

示例9: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("regex");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:AbstractRegularExpressionRuntimeModule.java

示例10: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.N4JS");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractN4JSRuntimeModule.java

示例11: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("n4js,n4jsx,js,jsx,n4jsd");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:AbstractN4JSRuntimeModule.java

示例12: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.n4js.n4mf.N4MF");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:4,代码来源:AbstractN4MFRuntimeModule.java

示例13: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("n4mf");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:5,代码来源:AbstractN4MFRuntimeModule.java

示例14: configureLanguageName

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureLanguageName(Binder binder) {
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.ioicompanies.lang.IOI");
}
 
开发者ID:amritbhat786,项目名称:DocIT,代码行数:4,代码来源:AbstractIOIRuntimeModule.java

示例15: configureFileExtensions

import org.eclipse.xtext.Constants; //导入依赖的package包/类
public void configureFileExtensions(Binder binder) {
	if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
		binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("ioi");
}
 
开发者ID:amritbhat786,项目名称:DocIT,代码行数:5,代码来源:AbstractIOIRuntimeModule.java


注:本文中的org.eclipse.xtext.Constants类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。