|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gui.Project
The Project keeps the SFC and a reference to the connected editor frame. It also keeps the name and status flags of the SFC.
Constructor Summary | |
Project()
The standard constructor. |
Method Summary | |
void |
clearModified()
Sets the editor modified flag. |
void |
exportSFC(java.io.File _file)
|
Editor |
getEditor()
Retruns the project editor. |
java.lang.String |
getName()
Retruns the project name. |
SFC |
getSFC()
Retruns the project SFC. |
boolean |
hasEditor()
|
static Project |
importSFC(java.io.File _file)
The import sfc routine |
boolean |
isChecked()
Return the projet checked flag. |
boolean |
isModified()
Returns the editor modified flag. |
boolean |
isNamed()
|
boolean |
isOnlyBool()
Returns the project isOnlyBool flag. |
void |
restoreEnvironment()
|
void |
setChecked(boolean status)
Sets the project checked flag. |
void |
setEditor(Editor editor)
Sets the editor in the project. |
void |
setEnvironment()
|
void |
setName(java.lang.String _name)
Sets the name of the project. |
void |
setOnlyBool(boolean status)
Sets the project welldefined flag. |
void |
setSFC(SFC _sfc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Project()
Method Detail |
public void restoreEnvironment()
public void setEnvironment()
public boolean isNamed()
public boolean hasEditor()
public boolean isChecked()
public void setChecked(boolean status)
status
- The checked status of the SFC in the project.public boolean isOnlyBool()
public void setOnlyBool(boolean status)
status
- The specified status of the SFC of the project.public java.lang.String getName()
public Editor getEditor()
public SFC getSFC()
public void setSFC(SFC _sfc)
public void exportSFC(java.io.File _file) throws java.lang.Exception
public static Project importSFC(java.io.File _file) throws java.lang.Exception
public void setName(java.lang.String _name)
_name
- The desired name of the project.public void setEditor(Editor editor)
_editor
- The editor in which the project is opened.public boolean isModified()
public void clearModified()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |