Пример #1
0
  @Override
  protected void initializeImageRegistry(final ImageRegistry reg) {
    final ImageRegistryUtil util = new ImageRegistryUtil(this);

    util.register(
        NicoUI.LOCTOOL_CANCEL_IMAGE_ID, ImageRegistryUtil.T_LOCTOOL, "cancel.png"); // $NON-NLS-1$
    util.register(
        NicoUI.LOCTOOLD_CANCEL_IMAGE_ID,
        ImageRegistryUtil.T_LOCTOOL_D,
        "cancel.png"); //$NON-NLS-1$
    util.register(
        NicoUI.LOCTOOL_PAUSE_IMAGE_ID, ImageRegistryUtil.T_LOCTOOL, "pause.png"); // $NON-NLS-1$
    util.register(
        NicoUI.LOCTOOLD_PAUSE_IMAGE_ID, ImageRegistryUtil.T_LOCTOOL_D, "pause.png"); // $NON-NLS-1$
    util.register(
        NicoUI.LOCTOOL_TERMINATE_IMAGE_ID,
        ImageRegistryUtil.T_LOCTOOL,
        "terminate.png"); //$NON-NLS-1$
    util.register(
        NicoUI.LOCTOOLD_TERMINATE_IMAGE_ID,
        ImageRegistryUtil.T_LOCTOOL_D,
        "terminate.png"); //$NON-NLS-1$

    util.register(
        NicoUI.OBJ_TASK_CONSOLECOMMAND_IMAGE_ID,
        ImageRegistryUtil.T_OBJ,
        "task-consolecommand.png"); //$NON-NLS-1$
    util.register(
        NicoUI.OBJ_TASK_DUMMY_IMAGE_ID, ImageRegistryUtil.T_OBJ, "task-dummy.png"); // $NON-NLS-1$
    util.register(
        NicoUI.OBJ_CONSOLECOMMAND_IMAGE_ID,
        ImageRegistryUtil.T_OBJ,
        "consolecommand.png"); //$NON-NLS-1$
  }
Пример #2
0
  @Override
  protected void initializeImageRegistry(final ImageRegistry reg) {
    final ImageRegistryUtil util = new ImageRegistryUtil(this);
    util.register(
        StatetImages.LAUNCHCONFIG_MAIN, ImageRegistryUtil.T_OBJ, "main_tab.gif"); // $NON-NLS-1$

    util.register(
        StatetImages.OBJ_IMPORT, ImageRegistryUtil.T_OBJ, "ltk-import.png"); // $NON-NLS-1$
    util.register(StatetImages.OBJ_CLASS, ImageRegistryUtil.T_OBJ, "ltk-class.png"); // $NON-NLS-1$
    util.register(
        StatetImages.OBJ_CLASS_EXT, ImageRegistryUtil.T_OBJ, "ltk-class_ext.png"); // $NON-NLS-1$

    util.register(
        StatetImages.TOOL_REFRESH, ImageRegistryUtil.T_TOOL, "refresh.png"); // $NON-NLS-1$
    util.register(
        StatetImages.TOOLD_REFRESH, ImageRegistryUtil.T_TOOLD, "refresh.png"); // $NON-NLS-1$

    util.register(
        StatetDebugImages.OVR_BREAKPOINT_INSTALLED,
        ImageRegistryUtil.T_OVR,
        "installed.png"); //$NON-NLS-1$
    util.register(
        StatetDebugImages.OVR_BREAKPOINT_INSTALLED_DISABLED,
        ImageRegistryUtil.T_OVR,
        "installed-disabled.png"); //$NON-NLS-1$

    util.register(
        StatetDebugImages.OVR_BREAKPOINT_CONDITIONAL,
        ImageRegistryUtil.T_OVR,
        "conditional.png"); //$NON-NLS-1$
    util.register(
        StatetDebugImages.OVR_BREAKPOINT_CONDITIONAL_DISABLED,
        ImageRegistryUtil.T_OVR,
        "conditional-disabled.png"); //$NON-NLS-1$

    util.register(
        StatetDebugImages.OVR_METHOD_BREAKPOINT_ENTRY,
        ImageRegistryUtil.T_OVR,
        "entry.png"); //$NON-NLS-1$
    util.register(
        StatetDebugImages.OVR_METHOD_BREAKPOINT_ENTRY_DISABLED,
        ImageRegistryUtil.T_OVR,
        "entry-disabled.png"); //$NON-NLS-1$
    util.register(
        StatetDebugImages.OVR_METHOD_BREAKPOINT_EXIT,
        ImageRegistryUtil.T_OVR,
        "exit.png"); //$NON-NLS-1$
    util.register(
        StatetDebugImages.OVR_METHOD_BREAKPOINT_EXIT_DISABLED,
        ImageRegistryUtil.T_OVR,
        "exit-disabled.png"); //$NON-NLS-1$
  }