pl.edu.agh.cast.resources
Class ModelEditorInput

java.lang.Object
  extended by pl.edu.agh.cast.resources.FileEditorInput
      extended by pl.edu.agh.cast.resources.ModelEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput

public class ModelEditorInput
extends FileEditorInput

Author:
fox

Constructor Summary
ModelEditorInput(java.util.Collection<pl.edu.agh.cast.model.base.IDataSet> model, org.eclipse.core.resources.IFile file)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Two ModelEditorInputs are equal if their files and models are equal
 java.util.Collection<pl.edu.agh.cast.model.base.IDataSet> getModel()
           
 
Methods inherited from class pl.edu.agh.cast.resources.FileEditorInput
exists, getAdapter, getFile, getImageDescriptor, getName, getPath, getPersistable, getToolTipText, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelEditorInput

public ModelEditorInput(java.util.Collection<pl.edu.agh.cast.model.base.IDataSet> model,
                        org.eclipse.core.resources.IFile file)
Method Detail

getModel

public java.util.Collection<pl.edu.agh.cast.model.base.IDataSet> getModel()

equals

public boolean equals(java.lang.Object obj)
Two ModelEditorInputs are equal if their files and models are equal

Overrides:
equals in class FileEditorInput


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.