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

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.OpenSampleSchemaEditor
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

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

An action which opens timeline editor with sample diagram.

Author:
AGH CAST Team

Constructor Summary
OpenSampleSchemaEditor()
          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

OpenSampleSchemaEditor

public OpenSampleSchemaEditor()
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.