|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.earth.model.output.ModelSaver
This interface defines two methodes every subclass has to implement.
A ModelSaver can save parts into a file.
getIdentName()
returns the name of the saver.
save(ModelGraph model, Frame parent)
shows a special dialog
to save ModelGraphObjects.
Title : Earth
Copyright : Copyright (c) 2001
Organisation : IGD FhG
Field Summary | |
protected String |
datapath_
Datapath for Savers |
Constructor Summary | |
ModelSaver()
|
Method Summary | |
abstract String |
getIdentName()
Returns the identName for this class. |
abstract boolean |
save(ModelGraph model,
Frame parent)
Shows a special dialog to save ModelGraphObjects. |
void |
setDatapath(String datapath)
Sets the "Datapath" for savers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String datapath_
Constructor Detail |
public ModelSaver()
Method Detail |
public abstract String getIdentName()
public abstract boolean save(ModelGraph model, Frame parent)
model
- Model to insert intoparent
- Parent frame
true
on success.public void setDatapath(String datapath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |