public final class UIControllerFactoryImpl extends Object implements ESUIControllerFactory
| Modifier and Type | Field and Description |
|---|---|
static UIControllerFactoryImpl |
INSTANCE
The instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final UIControllerFactoryImpl INSTANCE
public ESPrimaryVersionSpec commitProject(org.eclipse.swt.widgets.Shell shell, ESLocalProject project)
commitProject in interface ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project which changes are to be committedESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project for which the branch shall be createdESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project for which the branch shall be createdbranch - the branch to be committedESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedESUIControllerFactory.createLocalProject(org.eclipse.swt.widgets.Shell)public ESLocalProject createLocalProject(org.eclipse.swt.widgets.Shell shell, String name)
createLocalProject in interface ESUIControllerFactoryshell - the parent Shell that should be usedname - the name of the projectESUIControllerFactory.createLocalProject(org.eclipse.swt.widgets.Shell,
java.lang.String)public ESRemoteProject createRemoteProject(org.eclipse.swt.widgets.Shell shell, ESUsersession usersession)
createRemoteProject in interface ESUIControllerFactoryshell - the parent Shell that should be usedusersession - the session to be used to create the projectESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedusersession - the session to be used to create the projectprojectName - the name of the projectESUIControllerFactory.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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - 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 ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project to updateESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project to updateversion - the version to update toESUIControllerFactory.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 ESUIControllerFactoryshell - the parent Shell that should be usedproject - the project to updateESUIControllerFactory.updateProjectToVersion(org.eclipse.swt.widgets.Shell,
org.eclipse.emf.emfstore.client.ESLocalProject)Copyright © 2017. All rights reserved.