本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例9: bindIPreferenceStoreInitializer
import org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer; //导入依赖的package包/类
public Class<? extends IPreferenceStoreInitializer> bindIPreferenceStoreInitializer() {
return Antlr4PreferenceStoreInitializer.class;
}