|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProject
A Project contains Maps and Pages.
Provides event notification when something changes. The ProjectRegistry is used to obtain references to Projects.
Responsibilities:
Example Use:
Project project = registry.getProject(new URL("file://home/user/project.udig"));
project.getElements();
Method Summary | ||
---|---|---|
java.util.List<IProjectElement> |
getElements()
Returns a List with all elements in the project |
|
|
getElements(java.lang.Class<E> type)
Returns an unmodifiable list of the type requested. |
|
URI |
getID()
The id of the Project. |
|
java.lang.String |
getName()
|
|
void |
sendASync(Command command)
Executes the command asynchronously. |
|
void |
sendSync(Command command)
Executes the command synchronously and blocks. |
Method Detail |
---|
<E> java.util.List<E> getElements(java.lang.Class<E> type)
Some currently valid options are IMap and Page
java.util.List<IProjectElement> getElements()
This is an immutable list
java.lang.String getName()
void sendASync(Command command)
IMap#sendCommand(MapCommand)
command
- void sendSync(Command command)
IMap#sendCommand(MapCommand)
command
- URI getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |