|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.util.NOFileManager
This class is responsible for managing model's files
Method Summary | |
static boolean |
close(BaseModel pNOModel)
Actions executed when closing an internal frame |
static boolean |
dumpProjectDotXml(BaseModel pModel)
Ask for a file and the write a project.xml |
static javax.swing.JFileChooser |
getChooser()
the chooser accessor |
static void |
goodbye()
Operations to make when exiting nextObjects |
static void |
initChooser()
init the chooser |
static void |
newConceptualModel()
Open the default model |
static void |
newPhysicalModel()
Open the default physical model |
static void |
openModel()
Open a model |
static void |
openModelFile(java.io.File in,
boolean log)
Open a model |
static void |
save(BaseModel pModel)
Save the current model to its default file |
static void |
save(BaseModel pModel,
java.io.File out)
Save the current model |
static boolean |
saveToFile()
Save as a model |
static boolean |
saveToFile(BaseModel pModel)
Save a model |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void newPhysicalModel()
public static void newConceptualModel()
public static boolean saveToFile(BaseModel pModel)
pModel
- the model
public static void goodbye()
public static boolean saveToFile()
public static boolean close(BaseModel pNOModel)
pNOModel
- the model
public static boolean dumpProjectDotXml(BaseModel pModel)
pModel
- the model to write
public static void save(BaseModel pModel)
pModel
- the modelpublic static void save(BaseModel pModel, java.io.File out)
pModel
- the modelout
- the output filepublic static void openModelFile(java.io.File in, boolean log)
in
- the filelog
- Description of the Parameterpublic static void openModel()
public static javax.swing.JFileChooser getChooser()
public static void initChooser()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |