com.togethersoft.openapi.ide.project
Interface IdeProjectListener

All Known Implementing Classes:
IdeProjectAdapter

public interface IdeProjectListener
extends EventListener

Interface IdeProjectListeber provides a project listener. This listener receives project events (close, open etc.) on all found projects (see IdeProjectManager.getProject method).

Author:
TogetherSoft

Method Summary
 voidprojectClosed(IdeProjectEvent e)
           This method is called when a project is closed.
 voidprojectCloseQuery(IdeProjectEvent e)
           This method is called when a project is closing but before the actual closing.
 voidprojectOpened(IdeProjectEvent e)
           This method is called when a project is opened.

Method Detail

projectClosed

public void projectClosed(IdeProjectEvent e)
This method is called when a project is closed.
Parameters:
e - IdeProjectEvent object that represents the project closing
See Also:
IdeProjectEvent

projectCloseQuery

public void projectCloseQuery(IdeProjectEvent e)
throws com.togethersoft.openapi.util.VetoException
This method is called when a project is closing but before the actual closing. This allows to cancel closing by throwing the VetoException exception.
Parameters:
e - IdeProjectEvent
Throws:
VetoException - this project closing should be stopped

projectOpened

public void projectOpened(IdeProjectEvent e)
This method is called when a project is opened.
Parameters:
e - IdeProjectEvent object that represents project opening
See Also:
IdeProjectEvent