本文整理汇总了Java中org.eclipse.xtext.ui.LanguageSpecific类的典型用法代码示例。如果您正苦于以下问题:Java LanguageSpecific类的具体用法?Java LanguageSpecific怎么用?Java LanguageSpecific使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LanguageSpecific类属于org.eclipse.xtext.ui包,在下文中一共展示了LanguageSpecific类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: configure
import org.eclipse.xtext.ui.LanguageSpecific; //导入依赖的package包/类
@Override
public void configure(Binder binder) {
binder.bind(IResourceValidator.class).to(SCTResourceValidatorImpl.class);
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("sct");
binder.bind(IEncodingProvider.class).to(IEncodingProvider.Runtime.class);
binder.bind(IQualifiedNameProvider.class).to(StextNameProvider.class);
binder.bind(org.eclipse.jface.viewers.ILabelProvider.class)
.annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class)
.to(DefaultDescriptionLabelProvider.class);
binder.bind(IDefaultResourceDescriptionStrategy.class).to(SCTResourceDescriptionStrategy.class);
binder.bind(MarkerCreator.class).to(SCTMarkerCreator.class);
binder.bind(MarkerTypeProvider.class).to(SCTMarkerTypeProvider.class);
binder.bind(IDiagnosticConverter.class).to(SCTDiagnosticConverterImpl.class);
binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(SCTFileEditorOpener.class);
binder.bind(IMarkerContributor.class).to(TaskMarkerContributor.class);
binder.bind(ITaskFinder.class).to(DomainSpecificTaskFinder.class);
binder.bind(TaskMarkerCreator.class).to(SCTTaskMarkerCreator.class);
binder.bind(TaskMarkerTypeProvider.class).to(SCTTaskMarkerTypeProvider.class);
}
开发者ID:Yakindu,项目名称:statecharts,代码行数:22,代码来源:SCTXtextIntegrationModule.java
示例2: configureLanguageSpecificURIEditorOpener
import org.eclipse.xtext.ui.LanguageSpecific; //导入依赖的package包/类
public void configureLanguageSpecificURIEditorOpener(Binder binder) {
if (PlatformUI.isWorkbenchRunning()) {
binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(DerivedMemberAwareEditorOpener.class);
binder.bind(IDerivedMemberAwareEditorOpener.class).to(DerivedMemberAwareEditorOpener.class);
}
}
开发者ID:gw4e,项目名称:gw4e.project,代码行数:7,代码来源:AbstractDSLPoliciesUiModule.java
示例3: configureLanguageSpecificURIEditorOpener
import org.eclipse.xtext.ui.LanguageSpecific; //导入依赖的package包/类
public void configureLanguageSpecificURIEditorOpener(com.google.inject.Binder binder) {
binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(LanguageSpecificURIEditorOpener.class);
}
开发者ID:cplutte,项目名称:bts,代码行数:4,代码来源:EmfUiModule.java
示例4: configureLanguageSpecificURIEditorOpener
import org.eclipse.xtext.ui.LanguageSpecific; //导入依赖的package包/类
public void configureLanguageSpecificURIEditorOpener(Binder binder) {
if (PlatformUI.isWorkbenchRunning())
binder.bind(IURIEditorOpener.class)
.annotatedWith(LanguageSpecific.class)
.to(CDOLanguageSpecificURIEditorOpener.class);
}
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:7,代码来源:AbstractComponentUiModule.java
示例5: configureLanguageSpecificURIEditorOpener
import org.eclipse.xtext.ui.LanguageSpecific; //导入依赖的package包/类
/**
* Binds a editor opener for platform plugin URIs.
*
* @param binder
* the binder
*/
@Override
public void configureLanguageSpecificURIEditorOpener(final com.google.inject.Binder binder) {
binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(PlatformPluginAwareEditorOpener.class);
}
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:11,代码来源:CheckUiModule.java
注:本文中的org.eclipse.xtext.ui.LanguageSpecific类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论