pl.edu.agh.cast.dataview.ui.editor
Class TableEditorInput

java.lang.Object
  extended by pl.edu.agh.cast.editor.input.ModelEditorInput<IGeneralDataSet<IGeneralElement>>
      extended by pl.edu.agh.cast.dataview.ui.editor.TableEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, IModelEditorInput<IGeneralDataSet<IGeneralElement>>

public class TableEditorInput
extends ModelEditorInput<IGeneralDataSet<IGeneralElement>>

Editor input for DataTableEditor. Contains IGeneralDataSet .

Author:
AGH CAST Team

Constructor Summary
TableEditorInput(IGeneralDataSet<IGeneralElement> inputDataSet)
          The constructor.
 
Method Summary
 boolean equals(Object obj)
           TODO ? should be moved to ModelEditorInput ?
 boolean exists()
          
 Object getAdapter(Class adapter)
          
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
          
 String getName()
          
 org.eclipse.ui.IPersistableElement getPersistable()
          
 String getToolTipText()
          
 int hashCode()
          
 
Methods inherited from class pl.edu.agh.cast.editor.input.ModelEditorInput
getDataSet
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableEditorInput

public TableEditorInput(IGeneralDataSet<IGeneralElement> inputDataSet)
The constructor.

Parameters:
inputDataSet - input data set viewed in DataTableEditor
Method Detail

exists

public boolean exists()

Specified by:
exists in interface org.eclipse.ui.IEditorInput
Overrides:
exists in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IEditorInput.exists()

getName

public String getName()
Description copied from class: ModelEditorInput

Specified by:
getName in interface org.eclipse.ui.IEditorInput
Overrides:
getName in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IEditorInput.getName()

getToolTipText

public String getToolTipText()
Description copied from class: ModelEditorInput

Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput
Overrides:
getToolTipText in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IEditorInput.getToolTipText()

equals

public boolean equals(Object obj)
TODO ? should be moved to ModelEditorInput ?

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Description copied from class: ModelEditorInput

Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput
Overrides:
getImageDescriptor in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IEditorInput.getImageDescriptor()

getAdapter

public Object getAdapter(Class adapter)

Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IAdaptable.getAdapter(java.lang.Class)

getPersistable

public org.eclipse.ui.IPersistableElement getPersistable()
Description copied from class: ModelEditorInput

Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput
Overrides:
getPersistable in class ModelEditorInput<IGeneralDataSet<IGeneralElement>>
See Also:
IEditorInput.getPersistable()


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