pl.edu.agh.cast.schema.editor.action
Class OpenEmptySchemaEditor

java.lang.Object
  extended by pl.edu.agh.cast.editor.action.delegate.AbstractOpenEditorActionDelegate<ISchemaDataSet,IVisualSchemaDataSet,ISchemaDiagram>
      extended by pl.edu.agh.cast.schema.editor.action.OpenEmptySchemaEditor
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class OpenEmptySchemaEditor
extends AbstractOpenEditorActionDelegate<ISchemaDataSet,IVisualSchemaDataSet,ISchemaDiagram>

An action which opens schema editor with empty diagram.

Author:
AGH CAST Team

Constructor Summary
OpenEmptySchemaEditor()
          Constructor.
 
Method Summary
 ISchemaDiagram getDiagram()
          Returns an instance of a diagram to be used in new editor instance.
protected  String getNewEditorName()
          
 
Methods inherited from class pl.edu.agh.cast.editor.action.delegate.AbstractOpenEditorActionDelegate
dispose, init, run, selectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenEmptySchemaEditor

public OpenEmptySchemaEditor()
Constructor.

Method Detail

getNewEditorName

protected String getNewEditorName()

Specified by:
getNewEditorName in class AbstractOpenEditorActionDelegate<ISchemaDataSet,IVisualSchemaDataSet,ISchemaDiagram>
See Also:
AbstractOpenEditorActionDelegate.getNewEditorName()

getDiagram

public ISchemaDiagram getDiagram()
Returns an instance of a diagram to be used in new editor instance.

Specified by:
getDiagram in class AbstractOpenEditorActionDelegate<ISchemaDataSet,IVisualSchemaDataSet,ISchemaDiagram>
Returns:
an instance of a diagram to be displayed
See Also:
AbstractOpenEditorActionDelegate.getDiagram()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.