Java 类org.eclipse.xtext.ui.editor.outline.impl.OutlineFilterAndSorter 实例源码

项目: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");
}
项目:CooperateModelingEnvironment    文件:AbstractComponentUiModule.java   
public Class<? extends OutlineFilterAndSorter> bindOutlineFilterAndSorter() {
    return OutlineFlattenFilterAndSorter.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsUiModule.java   
public Class<? extends OutlineFilterAndSorter> bindOutlineFilterAndSorter() {
    return OutlineFlattenFilterAndSorter.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseUiModule.java   
public Class<? extends OutlineFilterAndSorter> bindOutlineFilterAndSorter() {
    return OutlineFlattenFilterAndSorter.class;
}