public WKFProjectModuleView(
     FlexoWorkflow workflow, WKFController controller, FlexoPerspective perspective) {
   super(new BorderLayout());
   declaredPerspective = perspective;
   this.workflow = workflow;
   this.controller = controller;
   workflow.addObserver(this);
   panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 50));
   JPanel buttonPanel = new JPanel(new GridLayout(1, 0));
   buttonPanel.add(new FlexoActionButton(AddSubProcess.actionType, this, controller));
   buttonPanel.add(new FlexoActionButton(AddRole.actionType, this, controller));
   panel.add(buttonPanel);
   add(panel);
   revalidate();
 }
 @Override
 public void deleteModuleView() {
   workflow.deleteObserver(this);
   controller.removeModuleView(this);
   panel = null;
 }