/**
  * Sets the focus.
  *
  * @see org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette#setFocus()
  */
 @Override
 public void setFocus() {
   splitter.setFocus();
   super.setFocus();
 }
 /**
  * Inits the.
  *
  * @param site the site
  * @param input the input
  * @throws PartInitException the part init exception
  * @see
  *     org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor#init(org.eclipse.ui.IEditorSite,
  *     org.eclipse.ui.IEditorInput)
  */
 @Override
 public void init(IEditorSite site, IEditorInput input) throws PartInitException {
   super.init(site, input);
   setPartName(getDiagram().getName());
   setTitleImage(DIAG_IMG_DESC.createImage());
 }
 /**
  * Creates the graphical viewer.
  *
  * @param parent the parent
  * @see
  *     org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor#createGraphicalViewer(org.eclipse.swt.widgets.Composite)
  */
 @Override
 protected void createGraphicalViewer(Composite parent) {
   splitter = parent;
   super.createGraphicalViewer(parent);
 }