pl.edu.agh.cast.backward.resources
Class ModelEditorInput
java.lang.Object
pl.edu.agh.cast.backward.resources.FileEditorInput
pl.edu.agh.cast.backward.resources.ModelEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput
public class ModelEditorInput
- extends FileEditorInput
IEditorInput
providing CAST data model and diagram IFile
.
- Author:
- AGH CAST Team
ModelEditorInput
public ModelEditorInput(Collection<IDataSet> model,
org.eclipse.core.resources.IFile file)
- Creates new instance of model editor input.
- Parameters:
model
- data modelfile
- diagram file
getModel
public Collection<IDataSet> getModel()
equals
public boolean equals(Object obj)
- Two
ModelEditorInput
s are equal if their files are equal. That basically means that
FileEditorInput
's equals should be used.
- Overrides:
equals
in class FileEditorInput
- See Also:
FileEditorInput.equals(java.lang.Object)
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class FileEditorInput
- See Also:
FileEditorInput.hashCode()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.