|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpov.structure.TreeObject jpov.structure.JmlFile
This class implements the root node of the tree.
Method Summary | |
boolean |
dependsContains(java.lang.String element)
|
void |
finalizeLoad()
|
void |
freeLemmas()
|
Class[] |
getClasses()
Returns the array of classes. |
java.lang.String[] |
getDepends()
|
java.io.File |
getFileName()
Returns the currently displayed file |
java.util.List |
getGoals()
|
java.io.File |
getJpoFile()
|
java.lang.String[] |
getLangNames()
|
int |
getNbCheckedPo()
|
int |
getNbPo()
Returns the number of proof obligations for this node. |
int |
getNbPoProved()
Returns the number of proved proof obligations for this node. |
int |
getNbPoProved(java.lang.String prover)
Returns the number of proved proof obligations for this node. |
java.lang.String |
getText(int type)
Returns the displayed text for this node. |
static JmlFile |
loadJmlFile(IJml2bConfiguration config,
java.io.File jpoFile,
JpoInputStream s)
Loads the root node from a .jpo file |
void |
save(IJml2bConfiguration config,
JpoOutputStream s)
Saves the JML file into a .jpo file |
void |
selectAll()
|
void |
setChecked()
Sets the node and its children to checked. |
void |
setUnchecked()
Sets the node and its children to unchecked |
void |
unprove()
Sets all the goals of this JML file to unprove. |
void |
updateStatus()
|
Methods inherited from class jpov.structure.TreeObject |
getParent, isChecked, isProved, percentProved |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static JmlFile loadJmlFile(IJml2bConfiguration config, java.io.File jpoFile, JpoInputStream s) throws java.io.IOException, LoadException
s
- The input stream corresponding to the JPO file
LoadException
- when the file format is not correct.
java.io.IOException
public void setChecked()
TreeObject
setChecked
in class TreeObject
public void setUnchecked()
TreeObject
setUnchecked
in class TreeObject
public int getNbPoProved(java.lang.String prover)
TreeObject
getNbPoProved
in class TreeObject
public int getNbCheckedPo()
public int getNbPo()
TreeObject
getNbPo
in class TreeObject
public int getNbPoProved()
TreeObject
getNbPoProved
in class TreeObject
public void updateStatus()
public void save(IJml2bConfiguration config, JpoOutputStream s) throws java.io.IOException
s
- The output stream representing the jpo file
java.io.IOException
public void unprove()
public java.lang.String getText(int type)
TreeObject
getText
in class TreeObject
public java.io.File getFileName()
fileName
public Class[] getClasses()
classes
public java.lang.String[] getLangNames()
getLangNames
in interface IJmlFile
public void freeLemmas()
public java.io.File getJpoFile()
public java.lang.String[] getDepends()
public boolean dependsContains(java.lang.String element)
element
-
public java.util.List getGoals()
public void finalizeLoad()
public void selectAll()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |