Ejemplo n.º 1
0
  @Override
  public void hook(ExtensionHook extensionHook) {
    super.hook(extensionHook);
    if (getView() != null) {
      extensionHook.getHookMenu().addViewMenuItem(getMenuViewImage());

      extensionHook.getHookView().addOptionPanel(getOptionsConnectionPanel());
      extensionHook.getHookView().addOptionPanel(getOptionsLocalProxyPanel());
      extensionHook.getHookView().addOptionPanel(getOptionsAuthenticationPanel());
      extensionHook.getHookView().addOptionPanel(getOptionsCertificatePanel());
      extensionHook.getHookView().addOptionPanel(getOptionsViewPanel());
      extensionHook.getHookView().addOptionPanel(getOptionsCheckForUpdatesPanel());
      extensionHook.getHookView().addOptionPanel(getOptionsLangPanel());
    }
  }
  @Override
  public void hook(ExtensionHook extensionHook) {
    super.hook(extensionHook);

    if (getView() != null) {
      extensionHook.getHookMenu().addPopupMenuItem(new PopupMenuSaveRawMessage());
    }
  }
  @Override
  public void hook(ExtensionHook extensionHook) {
    super.hook(extensionHook);

    if (getView() != null) {
      // Register our popup menu item, as long as we're not running as a daemon
      extensionHook.getHookMenu().addPopupMenuItem(getPopupMsgMenuExample());
    }
  }