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


Java IPreferenceStoreInitializer类代码示例

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


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

示例1: configureBracketMatchingAction

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public void configureBracketMatchingAction(Binder binder) {
	binder.bind(IActionContributor.class).annotatedWith(Names.named("foldingActionGroup")).to( //$NON-NLS-1$
			org.eclipse.xtext.ui.editor.folding.FoldingActionContributor.class);
	binder.bind(IActionContributor.class).annotatedWith(Names.named("bracketMatcherAction")).to( //$NON-NLS-1$
			org.eclipse.xtext.ui.editor.bracketmatching.GoToMatchingBracketAction.class);
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(Names.named("bracketMatcherPrefernceInitializer")) //$NON-NLS-1$
			.to(org.eclipse.xtext.ui.editor.bracketmatching.BracketMatchingPreferencesInitializer.class);
	binder.bind(IActionContributor.class).annotatedWith(Names.named("selectionActionGroup")).to( //$NON-NLS-1$
			org.eclipse.xtext.ui.editor.selection.AstSelectionActionContributor.class);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:11,代码来源:DefaultUiModule.java

示例2: configureBracketMatchingAction

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
@Override
public void configureBracketMatchingAction(final Binder binder) {
	// actually we want to override the first binding only...
	binder.bind(IActionContributor.class).annotatedWith(Names.named("foldingActionGroup")).to( //$NON-NLS-1$
			GamaFoldingActionContributor.class);
	binder.bind(IActionContributor.class).annotatedWith(Names.named("bracketMatcherAction")).to( //$NON-NLS-1$
			org.eclipse.xtext.ui.editor.bracketmatching.GoToMatchingBracketAction.class);
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(Names.named("bracketMatcherPrefernceInitializer")) //$NON-NLS-1$
			.to(org.eclipse.xtext.ui.editor.bracketmatching.BracketMatchingPreferencesInitializer.class);
	binder.bind(IActionContributor.class).annotatedWith(Names.named("selectionActionGroup")).to( //$NON-NLS-1$
			org.eclipse.xtext.ui.editor.selection.AstSelectionActionContributor.class);
}
 
开发者ID:gama-platform,项目名称:gama,代码行数:13,代码来源:GamlUiModule.java

示例3: configureMarkOccurrencesAction

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
@Override
public void configureMarkOccurrencesAction(final Binder binder) {
	binder.bind(IActionContributor.class).annotatedWith(Names.named("markOccurrences"))
			.to(GamlMarkOccurrenceActionContributor.class);
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(Names.named("GamlMarkOccurrenceActionContributor")) //$NON-NLS-1$
			.to(GamlMarkOccurrenceActionContributor.class);
}
 
开发者ID:gama-platform,项目名称:gama,代码行数:8,代码来源:GamlUiModule.java

示例4: configureBuilderPreferenceStoreInitializer

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public void configureBuilderPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("builderPreferenceInitializer"))
		.to(BuilderPreferenceAccess.Initializer.class);
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:6,代码来源:AbstractPkmntcgoUiModule.java

示例5: configureIPreferenceStoreInitializer

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public void configureIPreferenceStoreInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class)
		.annotatedWith(Names.named("RefactoringPreferences"))
		.to(RefactoringPreferences.Initializer.class);
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:6,代码来源:AbstractPkmntcgoUiModule.java

示例6:

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public void configureIOutlineContribution$Composite(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
			.to(IOutlineContribution.Composite.class);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:5,代码来源:DefaultUiModule.java

示例7: configureSmartCaretPreferenceInitializer

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
/**
 * @since 2.4
 */
public void configureSmartCaretPreferenceInitializer(Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(Names.named("smartCaretPreferenceInitializer")) //$NON-NLS-1$
			.to(SmartCaretPreferenceInitializer.class);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:8,代码来源:DefaultUiModule.java

示例8:

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
@Override
public void configureIOutlineContribution$Composite(final Binder binder) {
	binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
			.to(IOutlineContribution.Composite.class);
}
 
开发者ID:gama-platform,项目名称:gama,代码行数:6,代码来源:GamlUiModule.java

示例9: bindIPreferenceStoreInitializer

import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public Class<? extends IPreferenceStoreInitializer> bindIPreferenceStoreInitializer() {
  return Antlr4PreferenceStoreInitializer.class;
}
 
开发者ID:antlr4ide,项目名称:antlr4ide,代码行数:4,代码来源:Antlr4UiModule.java


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