Package rabbit.ui.internal.util

Examples of rabbit.ui.internal.util.Categorizer


  private TreePathValueProvider createValueProvider() {
    Map<Predicate<Object>, Category> categories = ImmutableMap.of(
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    IConverter<TreePath> converter = new TreePathDurationConverter();
    return new TreePathValueProvider(categorizer, contentProvider, converter, DATE);
  }
View Full Code Here


        .put(instanceOf(IProject.class), PROJECT)
        .put(instanceOf(ITask.class), TASK)
        .put(instanceOf(LocalDate.class), DATE)
        .put(instanceOf(WorkspaceStorage.class), WORKSPACE)
        .build();
    ICategorizer categorizer = new Categorizer(categories);
    return categorizer;
  }
View Full Code Here

  private ICategorizer createCategorizer() {
    Map<Predicate<Object>, Category> categories = ImmutableMap.of(
        instanceOf(IPerspectiveDescriptor.class), PERSPECTIVE,
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    return categorizer;
  }
View Full Code Here

        instanceOf(LaunchName.class), LAUNCH,
        instanceOf(ILaunchMode.class), LAUNCH_MODE,
        instanceOf(ILaunchConfigurationType.class), LAUNCH_TYPE,
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    return categorizer;
  }
View Full Code Here

  private ICategorizer createCategorizer() {
    Map<Predicate<Object>, Category> categories = ImmutableMap.of(
        instanceOf(IWorkbenchPartDescriptor.class), WORKBENCH_TOOL,
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    return categorizer;
  }
View Full Code Here

        instanceOf(IFile.class), FILE,
        instanceOf(IFolder.class), FOLDER,
        instanceOf(IProject.class), PROJECT,
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    return categorizer;
  }
View Full Code Here

  private TreePathValueProvider createValueProvider() {
    Map<Predicate<Object>, Category> categories = ImmutableMap.of(
        instanceOf(Command.class), COMMAND,
        instanceOf(LocalDate.class), DATE,
        instanceOf(WorkspaceStorage.class), WORKSPACE);
    ICategorizer categorizer = new Categorizer(categories);
    IConverter<TreePath> converter = new TreePathIntConverter();
    return new TreePathValueProvider(
        categorizer, contentProvider, converter, COMMAND);
  }
View Full Code Here

TOP

Related Classes of rabbit.ui.internal.util.Categorizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.