uk.ac.essex.ia.opview
Class OperationFile

java.lang.Object
  extended by uk.ac.essex.common.gui.ApplicationFileImpl<IAJGraph>
      extended by uk.ac.essex.ia.opview.OperationFile
All Implemented Interfaces:
ApplicationFile<IAJGraph>

public class OperationFile
extends ApplicationFileImpl<IAJGraph>


Date: Apr 13, 2002


Field Summary
protected  IAJGraph graph
           
 
Fields inherited from class uk.ac.essex.common.gui.ApplicationFileImpl
data, DEFAULT_NAME, file, isModified, name
 
Constructor Summary
OperationFile()
           
OperationFile(IAJGraph data)
           
 
Method Summary
 IAJGraph getGraph()
           
 boolean isModified()
          Is this file modified, ie/ it needs saving.
 void setData(IAJGraph data)
          Sets the data object if this is not the required type nothing is done
 
Methods inherited from class uk.ac.essex.common.gui.ApplicationFileImpl
equals, getData, getFile, getName, hasFile, setFile, setModified, setUseFullPathForName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graph

protected IAJGraph graph
Constructor Detail

OperationFile

public OperationFile()

OperationFile

public OperationFile(IAJGraph data)
Method Detail

getGraph

public IAJGraph getGraph()

setData

public void setData(IAJGraph data)
Sets the data object if this is not the required type nothing is done

Specified by:
setData in interface ApplicationFile<IAJGraph>
Overrides:
setData in class ApplicationFileImpl<IAJGraph>

isModified

public boolean isModified()
Description copied from interface: ApplicationFile
Is this file modified, ie/ it needs saving.

Specified by:
isModified in interface ApplicationFile<IAJGraph>
Overrides:
isModified in class ApplicationFileImpl<IAJGraph>
Returns:
boolean - true if this is modified, false otherwise