Ejemplo n.º 1
0
 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");
 }
Ejemplo n.º 2
0
 /**
  * Overrides getEditor
  *
  * @see org.openflexo.foundation.action.FlexoActionSource#getEditor()
  */
 @Override
 public FlexoEditor getEditor() {
   return controller.getEditor();
 }