code: public void setDiagramControllerAndPalettes(IControllerDiagramUml<?, ?> controllerDiagramUml, Component palletteDiagram, Component palletteZoom) {
      this.activeControllerDiagramUml = controllerDiagramUml;
      if(currentPaletteDiagram != null) {
        this.actionPropertiesPane.remove(currentPaletteDiagram);
      }
      this.actionPropertiesPane.add(palletteDiagram, BorderLayout.CENTER);
      currentPaletteDiagram = palletteDiagram;
      if(!isZoomPalletteAdded) {
        this.actionPropertiesPane.add(palletteZoom, BorderLayout.SOUTH);
        isZoomPalletteAdded = true;
      }
    }
docs: Set current diagram maker
  e.g. ClassDiagramMaker or ActivityDiagramMaker
  @param controllerDiagramUml
  @param palletteDiagram