| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface IdeProject defines a Together project.
To open or close a found project, open and close methods are used.
Note, that opening a found project only loads it into IDE. It is also possible to
obtain information about a non-opened found IdeProject, same as for the opened projects. (See
IdeProjectManager.getProject method).
The project consists of IdeProjectNodes, each representing a file or a directory.
| Method Summary | |
void | addImportPath(String path)Adds specified path to the project as a set of root IdeProjectNode instances. |
void | close(boolean save)Closes this project. |
IdeProjectNode | findNode(String url)Given the node's URL, finds the IdeProjectNode( which can be a file or a directory). |
String | getDefaultLanguage()Returns the string with the name of this project's default language. |
String | getFileName()Returns a string with the full path to the file representing this project. |
String | getName()Returns a short name of a project. |
boolean | isOpen()Checks whether this project is opened. |
void | open()Loads this project into IDE. |
IdeProjectNodeEnumeration | roots()Returns an enumeration of all root IdeProjectNodes for this project. |
| Method Detail |
public void addImportPath(String path)
path to the project as a set of root IdeProjectNode instances.
String to be addedpublic void close(boolean save)
throws com.togethersoft.openapi.util.VetoException,
java.io.IOException
save parameter is true then it saves the changed data,
boolean value indicating whether the changed data should be savedpublic IdeProjectNode findNode(String url)
IdeProjectNode( which can be a file or a directory).String with IdeProjectNode's URL. For example, for a directory
"c:\together\myprojects".IdeProjectNodepublic String getDefaultLanguage()
SciLanguage interface.String that denotes the language of the current projectpublic String getFileName()
"c:\myProjects\myTestProj.tpr"String fully qualified project namepublic String getName()
String short name of this projectpublic boolean isOpen()
true if this project is opened, false otherwisepublic void open()
throws com.togethersoft.openapi.util.VetoException,
java.io.IOException
VetoException.public IdeProjectNodeEnumeration roots()
IdeProjectNodes for this project.IdeProjectNodes for this project
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||