org.objectweb.jac.ide
Class Projects

java.lang.Object
  extended byorg.objectweb.jac.ide.Projects

public class Projects
extends Object


Field Summary
static Plurals plurals
           
static Preferences prefs
           
static Projects root
           
static Timestamps stamps
           
static TypeRepository types
           
 
Constructor Summary
Projects()
           
 
Method Summary
 void addProject(Project p)
           
static void export(File f)
          Exports projects to an XML file
 Application getCurrentApplication()
           
 List getProjects()
          Get the value of projects.
static void importObjects(File f)
           
 boolean isNotStarted()
           
 boolean isStarted()
           
static void main(String[] args)
           
static Boolean notPrimitiveType(Wrappee substance, FieldItem field, Object value, Object[] values)
           
 void removeProject(Project p)
           
 void setCurrentApplication(Application application)
           
 void startCurrentApplication()
          Starts the current application
 void stopCurrentApplication()
          Stops the current application
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

root

public static transient Projects root

types

public static transient TypeRepository types

plurals

public static transient Plurals plurals

stamps

public static transient Timestamps stamps

prefs

public static transient Preferences prefs
Constructor Detail

Projects

public Projects()
Method Detail

notPrimitiveType

public static Boolean notPrimitiveType(Wrappee substance,
                                       FieldItem field,
                                       Object value,
                                       Object[] values)

main

public static void main(String[] args)

getProjects

public List getProjects()
Get the value of projects.

Returns:
value of projects.

addProject

public void addProject(Project p)

removeProject

public void removeProject(Project p)

toString

public String toString()

setCurrentApplication

public void setCurrentApplication(Application application)

getCurrentApplication

public Application getCurrentApplication()

startCurrentApplication

public void startCurrentApplication()
                             throws IOException
Starts the current application

Throws:
IOException

stopCurrentApplication

public void stopCurrentApplication()
Stops the current application


isNotStarted

public boolean isNotStarted()

isStarted

public boolean isStarted()

export

public static void export(File f)
                   throws IOException,
                          Exception
Exports projects to an XML file

Parameters:
f - the file to export to
Throws:
IOException
Exception

importObjects

public static void importObjects(File f)
                          throws org.xml.sax.SAXException,
                                 IOException
Throws:
org.xml.sax.SAXException
IOException