Java 类org.eclipse.xtext.ui.editor.outline.actions.IOutlineContribution 实例源码

项目:CooperateModelingEnvironment    文件:OutlineFragment2.java   
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");
}
项目:n4js    文件:N4JSUiModule.java   
/**
 * Toggle showing inherited members or not.
 */
public void configureInheritedMembersOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("InheritedMembersOutlineContribution")).to(
            N4JSShowInheritedMembersOutlineContribution.class);
}
项目:n4js    文件:N4JSUiModule.java   
/**
 * Toggle showing static members or not.
 */
public void configureFilterStaticMembersOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterStaticMembersOutlineContribution")).to(
            N4JSFilterStaticMembersOutlineContribution.class);
}
项目:n4js    文件:N4JSUiModule.java   
/**
 * Toggle showing non-public members or not.
 */
public void configureFilterNonPublicMembersOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterNonPublicMembersOutlineContribution"))
            .to(N4JSFilterNonPublicMembersOutlineContribution.class);
}
项目:n4js    文件:N4JSUiModule.java   
/**
 * Toggle showing local types or not.
 */
public void configureFilterLocalTypesOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterLocalTypesOutlineContribution"))
            .to(N4JSFilterLocalTypesOutlineContribution.class);
}
项目:bts    文件:DefaultUiModule.java   
public void configureIOutlineContribution$Composite(Binder binder) {
    binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
            .to(IOutlineContribution.Composite.class);
}
项目:bts    文件:DefaultUiModule.java   
public void configureToggleSortingOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class)
            .to(SortOutlineContribution.class);
}
项目:bts    文件:DefaultUiModule.java   
public void configureToggleLinkWithEditorOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class)
            .to(LinkWithEditorOutlineContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configureFilterDesignsContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterDesignsContribution")).to(FilterDesignsContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configureFilterDevicesContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterDevicesContribution")).to(FilterDevicesContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configureFilterImportsContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterImportsContribution")).to(FilterImportsContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configureFilterPackagesContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterPackagesContribution"))
            .to(FilterPackagesContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configureFilterSubdesignsContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("FilterSubdesignsContribution"))
            .to(FilterSubdesignsContribution.class);
}
项目:PHDL    文件:PhdlUiModule.java   
public void configurePhdlToggleOutlineContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("PhdlToggleOutlineC")).to(ExpandToggleOutlineContribution.class);
}
项目:gama    文件:GamlUiModule.java   
@Override
public void configureIOutlineContribution$Composite(final Binder binder) {
    binder.bind(IPreferenceStoreInitializer.class).annotatedWith(IOutlineContribution.All.class)
            .to(IOutlineContribution.Composite.class);
}
项目:gama    文件:GamlUiModule.java   
@Override
public void configureToggleSortingOutlineContribution(final Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.Sort.class)
            .to(GamlSortOutlineContribution.class);
}
项目:gama    文件:GamlUiModule.java   
@Override
public void configureToggleLinkWithEditorOutlineContribution(final Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(IOutlineContribution.LinkWithEditor.class)
            .to(GamlLinkWithEditorOutlineContribution.class);
}
项目:CooperateModelingEnvironment    文件:AbstractComponentUiModule.java   
public void configureToggleOutlineViewContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("ToogleOutlineView")).to(FlatOutlineViewContribution.class);
}
项目:CooperateModelingEnvironment    文件:AbstractClsUiModule.java   
public void configureToggleOutlineViewContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("ToogleOutlineView")).to(FlatOutlineViewContribution.class);
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseUiModule.java   
public void configureToggleOutlineViewContribution(Binder binder) {
    binder.bind(IOutlineContribution.class).annotatedWith(Names.named("ToogleOutlineView")).to(FlatOutlineViewContribution.class);
}