|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fhg.igd.earth.model.input.ModelLoader
This interface defines two methodes every subclass has to implement.
A ModelLoader can load parts into the model.
getIdentName() returns the name of the loader.
load(ModelGraph model, Frame parent) shows the special load
dialog and inserts the selected parts.
Title : Earth
Copyright : Copyright (c) 2001
Organisation : IGD FhG
| Field Summary | |
protected String |
datapath_
Datapath for Loaders |
| Constructor Summary | |
ModelLoader()
|
|
| Method Summary | |
abstract String |
getIdentName()
Returns the identName for this class. |
abstract boolean |
load(ModelGraph model,
Frame parent)
Shows the special load dialog and inserts the selected parts. |
void |
setDatapath(String datapath)
Sets the "Datapath" for loaders |
| 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 ModelLoader()
| Method Detail |
public abstract String getIdentName()
public abstract boolean load(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 | |||||||||