|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ESWorkspace
Container for all local projects and available servers.
Method Summary | |
---|---|
ESServer |
addServer(ESServer server)
Adds a server to the workspace. |
ESLocalProject |
createLocalProject(String projectName)
Creates a new local project that is not shared with the server yet. |
ESLocalProject |
getLocalProject(org.eclipse.emf.ecore.EObject modelElement)
Returns the ESLocalProject the given model element is contained in. |
List<ESLocalProject> |
getLocalProjects()
Returns all local projects. |
List<ESServer> |
getServers()
Returns all available servers. |
void |
removeServer(ESServer server)
Removes a server from the workspace. |
Method Detail |
---|
List<ESLocalProject> getLocalProjects()
ESLocalProject createLocalProject(String projectName)
projectName
- the project's name
ESLocalProject getLocalProject(org.eclipse.emf.ecore.EObject modelElement)
ESLocalProject
the given model element is contained in.
modelElement
- the model element whose project should be returned
List<ESServer> getServers()
ESServer addServer(ESServer server)
server
- the server to be added to the workspace
void removeServer(ESServer server) throws ESServerNotFoundException
server
- the server to be removed from the workspace
ESServerNotFoundException
- in case the server couldn't be found in the workspace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |