當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。