private void registerGuiceBindingsUi() { new GuiceModuleAccess.BindingFactory() .addTypeToType(typeRef(OutlineFilterAndSorter.class), typeRef(OutlineFlattenFilterAndSorter.class)) .addConfiguredBinding("ToggleOutlineViewContribution", new StringConcatenationClient() { @Override protected void appendTo(TargetStringConcatenation target) { target.append("binder.bind("); target.append(typeRef(IOutlineContribution.class)); target.append(".class).annotatedWith("); target.append(typeRef(Names.class)); target.append(".named(\"ToogleOutlineView\")).to("); target.append(typeRef(FlatOutlineViewContribution.class)); target.append(".class);"); } }).contributeTo(getLanguage().getEclipsePluginGenModule()); getProjectConfig().getEclipsePlugin().getManifest().getRequiredBundles() .add("de.cooperateproject.modeling.textual.common"); }
/** * Toggle showing inherited members or not. */ public void configureInheritedMembersOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("InheritedMembersOutlineContribution")).to( N4JSShowInheritedMembersOutlineContribution.class); }
/** * Toggle showing static members or not. */ public void configureFilterStaticMembersOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterStaticMembersOutlineContribution")).to( N4JSFilterStaticMembersOutlineContribution.class); }
/** * Toggle showing non-public members or not. */ public void configureFilterNonPublicMembersOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterNonPublicMembersOutlineContribution")) .to(N4JSFilterNonPublicMembersOutlineContribution.class); }
/** * Toggle showing local types or not. */ public void configureFilterLocalTypesOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterLocalTypesOutlineContribution")) .to(N4JSFilterLocalTypesOutlineContribution.class); }
public void configureIOutlineContribution$Composite(Binder binder) { binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class) .to(IOutlineContribution.Composite.class); }
public void configureToggleSortingOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class) .to(SortOutlineContribution.class); }
public void configureToggleLinkWithEditorOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class) .to(LinkWithEditorOutlineContribution.class); }
public void configureFilterDesignsContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterDesignsContribution")).to(FilterDesignsContribution.class); }
public void configureFilterDevicesContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterDevicesContribution")).to(FilterDevicesContribution.class); }
public void configureFilterImportsContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterImportsContribution")).to(FilterImportsContribution.class); }
public void configureFilterPackagesContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterPackagesContribution")) .to(FilterPackagesContribution.class); }
public void configureFilterSubdesignsContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterSubdesignsContribution")) .to(FilterSubdesignsContribution.class); }
public void configurePhdlToggleOutlineContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("PhdlToggleOutlineC")).to(ExpandToggleOutlineContribution.class); }
@Override public void configureIOutlineContribution$Composite(final Binder binder) { binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class) .to(IOutlineContribution.Composite.class); }
@Override public void configureToggleSortingOutlineContribution(final Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class) .to(GamlSortOutlineContribution.class); }
@Override public void configureToggleLinkWithEditorOutlineContribution(final Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class) .to(GamlLinkWithEditorOutlineContribution.class); }
public void configureToggleOutlineViewContribution(Binder binder) { binder.bind(IOutlineContribution.class).annotatedWith(Names.named("ToogleOutlineView")).to(FlatOutlineViewContribution.class); }