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); }
@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); }
@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); }
public void configureBuilderPreferenceStoreInitializer(Binder binder) { binder.bind(IPreferenceStoreInitializer.class) .annotatedWith(Names.named("builderPreferenceInitializer")) .to(BuilderPreferenceAccess.Initializer.class); }
public void configureIPreferenceStoreInitializer(Binder binder) { binder.bind(IPreferenceStoreInitializer.class) .annotatedWith(Names.named("RefactoringPreferences")) .to(RefactoringPreferences.Initializer.class); }
public void configureIOutlineContribution$Composite(Binder binder) { binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class) .to(IOutlineContribution.Composite.class); }
/** * @since 2.4 */ public void configureSmartCaretPreferenceInitializer(Binder binder) { binder.bind(IPreferenceStoreInitializer.class).annotatedWith(Names.named("smartCaretPreferenceInitializer")) //$NON-NLS-1$ .to(SmartCaretPreferenceInitializer.class); }
@Override public void configureIOutlineContribution$Composite(final Binder binder) { binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class) .to(IOutlineContribution.Composite.class); }
public Class<? extends IPreferenceStoreInitializer> bindIPreferenceStoreInitializer() { return Antlr4PreferenceStoreInitializer.class; }