|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.ui.controller.UIControllerFactoryImpl
public final class UIControllerFactoryImpl
Implementation of the UI controller factory.
Field Summary | |
---|---|
static UIControllerFactoryImpl |
INSTANCE
The instance. |
Method Summary | |
---|---|
ESPrimaryVersionSpec |
commitProject(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Commits the changes of a project. |
ESPrimaryVersionSpec |
createBranch(org.eclipse.swt.widgets.Shell shell,
ESProject project)
Creates a new branch. |
ESPrimaryVersionSpec |
createBranch(org.eclipse.swt.widgets.Shell shell,
ESProject project,
ESBranchVersionSpec branch)
Creates a new branch. |
ESLocalProject |
createLocalProject(org.eclipse.swt.widgets.Shell shell)
Create a new local project. |
ESLocalProject |
createLocalProject(org.eclipse.swt.widgets.Shell shell,
String name)
Create a new local project. |
ESRemoteProject |
createRemoteProject(org.eclipse.swt.widgets.Shell shell,
ESUsersession usersession)
Create a new remote project. |
ESRemoteProject |
createRemoteProject(org.eclipse.swt.widgets.Shell shell,
ESUsersession usersession,
String projectName)
Create a new remote project. |
void |
deleteLocalProject(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Deletes a local project. |
void |
deleteRemoteProject(org.eclipse.swt.widgets.Shell shell,
ESRemoteProject remoteProject,
ESUsersession usersession)
Deletes a remote project. |
void |
login(org.eclipse.swt.widgets.Shell shell,
ESServer server)
Login to the server. |
void |
logout(org.eclipse.swt.widgets.Shell shell,
ESUsersession usersession)
Log out a usersession. |
void |
mergeBranch(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Merge a branch into the project. |
void |
registerEPackage(org.eclipse.swt.widgets.Shell shell,
ESServer server)
Register a new EPackage at the server. |
void |
removeServer(org.eclipse.swt.widgets.Shell shell,
ESServer server)
Remove a server from the workspace. |
void |
shareProject(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Share a project. |
void |
showHistoryView(org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EObject eObject)
Display the history view. |
void |
showHistoryView(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Display the history view. |
ESPrimaryVersionSpec |
updateProject(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Update a project. |
ESPrimaryVersionSpec |
updateProject(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project,
ESVersionSpec version)
Update a project. |
ESPrimaryVersionSpec |
updateProjectToVersion(org.eclipse.swt.widgets.Shell shell,
ESLocalProject project)
Update a project to a specific version. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UIControllerFactoryImpl INSTANCE
Method Detail |
---|
public ESPrimaryVersionSpec commitProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
commitProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project which changes are to be committed
ESUIControllerFactory.commitProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public ESPrimaryVersionSpec createBranch(org.eclipse.swt.widgets.Shell shell, ESProject project)
createBranch
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project for which the branch shall be created
ESUIControllerFactory.createBranch(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESProject)
public ESPrimaryVersionSpec createBranch(org.eclipse.swt.widgets.Shell shell, ESProject project, ESBranchVersionSpec branch)
createBranch
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project for which the branch shall be createdbranch
- the branch to be committed
ESUIControllerFactory.createBranch(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESProject,
org.eclipse.emf.emfstore.server.model.versionspec.ESBranchVersionSpec)
public ESLocalProject createLocalProject(org.eclipse.swt.widgets.Shell shell)
createLocalProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be used
ESUIControllerFactory.createLocalProject(org.eclipse.swt.widgets.Shell)
public ESLocalProject createLocalProject(org.eclipse.swt.widgets.Shell shell, String name)
createLocalProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedname
- the name of the project
ESUIControllerFactory.createLocalProject(org.eclipse.swt.widgets.Shell,
java.lang.String)
public ESRemoteProject createRemoteProject(org.eclipse.swt.widgets.Shell shell, ESUsersession usersession)
createRemoteProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedusersession
- the session to be used to create the project
ESUIControllerFactory.createRemoteProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESUsersession)
public ESRemoteProject createRemoteProject(org.eclipse.swt.widgets.Shell shell, ESUsersession usersession, String projectName)
createRemoteProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedusersession
- the session to be used to create the projectprojectName
- the name of the project
ESUIControllerFactory.createRemoteProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESUsersession, java.lang.String)
public void deleteLocalProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
deleteLocalProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to be deletedESUIControllerFactory.deleteLocalProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public void deleteRemoteProject(org.eclipse.swt.widgets.Shell shell, ESRemoteProject remoteProject, ESUsersession usersession)
deleteRemoteProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedremoteProject
- the project to be deletedusersession
- the session to be used to create the projectESUIControllerFactory.deleteRemoteProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESRemoteProject, org.eclipse.emf.emfstore.client.ESUsersession)
public void login(org.eclipse.swt.widgets.Shell shell, ESServer server)
login
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedserver
- the server to login toESUIControllerFactory.login(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESServer)
public void logout(org.eclipse.swt.widgets.Shell shell, ESUsersession usersession)
logout
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedusersession
- the usersession to endESUIControllerFactory.logout(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESUsersession)
public void mergeBranch(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
mergeBranch
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to mergeESUIControllerFactory.mergeBranch(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public void registerEPackage(org.eclipse.swt.widgets.Shell shell, ESServer server)
EPackage
at the server.
registerEPackage
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedserver
- the server at which the package should be registeredESUIControllerFactory.registerEPackage(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESServer)
public void removeServer(org.eclipse.swt.widgets.Shell shell, ESServer server)
removeServer
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedserver
- the server to removeESUIControllerFactory.removeServer(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESServer)
public void shareProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
shareProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to shareESUIControllerFactory.shareProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public void showHistoryView(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
showHistoryView
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project for which the history is to be displayedESUIControllerFactory.showHistoryView(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public void showHistoryView(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject eObject)
showHistoryView
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedeObject
- the eObject for which the history is to be displayedESUIControllerFactory.showHistoryView(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.ecore.EObject)
public ESPrimaryVersionSpec updateProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
updateProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to update
ESUIControllerFactory.updateProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
public ESPrimaryVersionSpec updateProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project, ESVersionSpec version)
updateProject
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to updateversion
- the version to update to
ESUIControllerFactory.updateProject(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject,
org.eclipse.emf.emfstore.server.model.versionspec.ESVersionSpec)
public ESPrimaryVersionSpec updateProjectToVersion(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
updateProjectToVersion
in interface ESUIControllerFactory
shell
- the parent Shell
that should be usedproject
- the project to update
ESUIControllerFactory.updateProjectToVersion(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |