Session¶
-
public class
Session
¶
Constructors¶
Methods¶
addListener¶
-
public void
addListener
(io.cocotec.coco.platform.coco.ide.SessionListener listener)¶ Adds a listener that will receive callbacks about events in this Session. The caller is responsible for ensuring that the SessionListener remains valid whilst the session is active: the session does not take ownership of the SessionListener at all.
addPackageSource¶
closeProject¶
-
public void
closeProject
(io.cocotec.coco.platform.coco.ide.Project project)¶ Closes a project, releasing all resources associated with this process. Unlike remove_project, this allows the project to still be used as a dependency of other projects. After this the project object must not be accessed anymore.