protected final JToolBar getFileToolBar() {
    if (this.tb == null) {
      ActionToolBar tb = new ActionToolBar();
      this.tb = tb;
      
      Registry reg = getRegistry();

      EditorActionManager eam = getEditorActionManager();
      tb.add(false, eam.getNewAction());
      tb.add(false, eam.getOpenAction());
      tb.add(false, eam.getSaveAction());
      tb.addSeparator();
      tb.add(false, eam.getUndoAction());
      tb.add(false, eam.getRedoAction());
      tb.addSeparator();
      tb.add(false, eam.getCutAction());
      tb.add(false, eam.getCopyAction());
      tb.add(false, eam.getPasteAction());

      String position = reg.getString("USER", "position.file.toolbar");
      if (position.equalsIgnoreCase(BorderLayout.WEST) ||
          position.equalsIgnoreCase(BorderLayout.EAST)) {
        tb.setOrientation(JToolBar.VERTICAL);
      }
      else if (position.equalsIgnoreCase(BorderLayout.NORTH) ||
               position.equalsIgnoreCase(BorderLayout.SOUTH)) {
        tb.setOrientation(JToolBar.HORIZONTAL);
      }

      tb.setVisible(reg.getBoolean("USER", "show.file.toolbar"));
    }

    return this.tb;
  }