public RoleListBrowserView(RoleListBrowser roleListBrowser, WKFController controller) {
   super(roleListBrowser, controller.getKeyEventListener(), controller.getEditor());
   JPanel north = new JPanel(new FlowLayout(FlowLayout.LEFT, 1, 1));
   for (int i = 0; i < RoleViewMode.values().length; i++) {
     RoleViewMode viewMode = RoleViewMode.values()[i];
     north.add(new RoleViewModeButton(viewMode));
   }
   add(north, BorderLayout.NORTH);
   _controller = controller;
   FCH.setHelpItem(this, "rolelist-browser");
 }
 public RoleViewModeButton(RoleViewMode mode) {
   this.viewMode = mode;
   setIcon(viewMode.getIcon());
   setToolTipText(viewMode.getLocalizedName());
   setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));
   addActionListener(this);
   if (RoleListBrowserView.this.getBrowser().getRoleViewMode() == viewMode) {
     SwingUtilities.invokeLater(
         new Runnable() {
           @Override
           public void run() {
             doClick();
           }
         });
   }
 }