Modifier and Type | Method and Description |
---|---|
InternalProject |
CDOProjectData.getProject()
Returns the project.
|
Modifier and Type | Method and Description |
---|---|
void |
CDOProvider.cloneProject(InternalProject projectToClone,
InternalProject targetProject)
This method clones a project.
|
protected org.eclipse.emf.cdo.server.db.IDBStore |
CDOProvider.createLocalStore(InternalProject project,
File folder)
Create a local
IDBStore . |
protected void |
CDOProvider.createProject(InternalProject project)
Creates a provider specific project for the given internal project.
|
protected org.eclipse.emf.cdo.workspace.CDOWorkspaceBase |
CDOProvider.createWorkspaceBase(InternalProject project,
File folder)
Create and store a
CDOWorkspaceBase . |
protected org.eclipse.emf.cdo.workspace.CDOWorkspaceConfiguration |
CDOProvider.createWorkspaceConfiguration(InternalProject project)
Create and store a
CDOWorkspaceConfiguration for the given internal project. |
protected void |
CDOProvider.disposeProject(InternalProject project)
Dispose the given project and its data.
|
void |
CDOProvider.doDelete(InternalProject project,
Collection<Object> objects)
Executes the delete opertation.
|
org.eclipse.emf.common.util.EList<Object> |
CDOProvider.getElements(InternalProject project)
This method returns an
EList of the root elements. |
static CDOProjectData |
CDOProvider.getProjectData(InternalProject project)
Get
CDOProjectData for the given internal project. |
static File |
CDOProvider.getProjectFolder(InternalProject project)
Get the folder for the configuration data of the internal project.
|
org.eclipse.emf.common.notify.Notifier |
CDOProvider.getRoot(InternalProject project)
Method checking whether an object is the root of the model container.
|
protected void |
CDOProvider.removeProject(InternalProject project)
Remove the internal project and its configuration data.
|
Constructor and Description |
---|
CDOProjectData(InternalProject project)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
CommitHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
RevertHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
ShareHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
MergeBranchHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
UpdateToVersionHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
UpdateHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
UndoHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
void |
CreateBranchHandler.execute(org.eclipse.swt.widgets.Shell shell,
InternalProject project) |
Modifier and Type | Method and Description |
---|---|
void |
EMFStoreProvider.cloneProject(InternalProject projectToClone,
InternalProject targetProject)
This method clones a project.
|
boolean |
EMFStoreProvider.contains(InternalProject project,
Object object) |
org.eclipse.emf.edit.domain.EditingDomain |
EMFStoreProvider.createEditingDomain(InternalProject project)
This method creates an editing domain each time it is called.
|
void |
EMFStoreProvider.doDelete(InternalProject project,
Collection<Object> objects)
Executes the delete opertation.
|
void |
EMFStoreProvider.doSave(InternalProject project)
Convenient implementation where nothing happens.
|
org.eclipse.emf.common.util.EList<? extends Object> |
EMFStoreProvider.getElements(InternalProject project)
This method returns an
EList of the root elements. |
Iterator<org.eclipse.emf.ecore.EObject> |
EMFStoreProvider.getLinkElements(InternalProject project,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.emf.ecore.EReference eReference)
Convenient implementation of the
DefaultProvider.getLinkElements(InternalProject, EObject, EReference) method to use the
ItemPropertyDescriptor to get all object of an object. |
org.eclipse.emf.emfstore.client.ESLocalProject |
EMFStoreProvider.getProjectSpace(InternalProject internalProject)
This retrieves the
ProjectSpace from an InternalProject . |
org.eclipse.emf.common.notify.Notifier |
EMFStoreProvider.getRoot(InternalProject project)
Method checking whether an object is the root of the model container.
|
boolean |
EMFStoreProvider.isDirty(InternalProject project)
Convenient implementation where the provider saves changes of the project automatically, so a project never gets
dirty.
|
boolean |
EMFStoreProvider.modelExists(InternalProject project)
Convenient implementation that return true during this check.
|
Constructor and Description |
---|
EMFStoreDirtyObserver(org.eclipse.emf.emfstore.internal.client.model.ProjectSpace projectSpace,
InternalProject project)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
CommitProjectHelper.commitProject(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Delegates the call to
UICommitProjectController and triggers an update of the provided
InternalProject . |
static void |
CreateBranchHelper.createBranch(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Creates a branch of an
InternalProject . |
static void |
ExportProjectHelper.exportProject(InternalProject internalProject,
org.eclipse.swt.widgets.Shell shell)
Exports a given project.
|
static void |
MergeBranchHelper.mergeBranch(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Merges a branch into the selected
InternalProject . |
static void |
RevertAllOperationsHelper.revert(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Reverts all Operations from the selected
InternalProject . |
static void |
ShareProjectHelper.share(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Shares an
InternalProject . |
static void |
UndoLastOperationHelper.undo(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Undo the last change on an
InternalProject . |
static void |
UpdateProjectHelper.update(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Updates an
InternalProject to head. |
static void |
UpdateProjectHelper.updateToVersion(InternalProject project,
org.eclipse.swt.widgets.Shell shell)
Updates an
InternalProject to a specific version. |
Modifier and Type | Class and Description |
---|---|
class |
ECPProjectImpl |
Modifier and Type | Method and Description |
---|---|
InternalProject |
ECPProjectImpl.clone(String name)
This method clones a project.
|
InternalProject[] |
ECPRepositoryImpl.getOpenProjects()
Return all open projects of that are shared on this repository.
|
InternalProject |
ECPProjectImpl.getProject()
This returns the project this object belongs to or references in any way.
|
InternalProject |
ECPProjectManagerImpl.getProject(Object adaptable)
Retrieves the project the adaptable belongs to if possible.
|
InternalProject |
ECPProjectManagerImpl.getProject(String name)
Searches for a project based on the provided
String . |
protected InternalProject |
ECPProjectManagerImpl.loadElement(ObjectInput in) |
Modifier and Type | Method and Description |
---|---|
protected void |
ECPProjectManagerImpl.elementsChanged(Collection<InternalProject> oldElements,
Collection<InternalProject> newElements) |
protected void |
ECPProjectManagerImpl.elementsChanged(Collection<InternalProject> oldElements,
Collection<InternalProject> newElements) |
protected void |
ECPProjectManagerImpl.notifyObservers(Collection<InternalProject> oldElements,
Collection<InternalProject> newElements) |
protected void |
ECPProjectManagerImpl.notifyObservers(Collection<InternalProject> oldElements,
Collection<InternalProject> newElements) |
Modifier and Type | Method and Description |
---|---|
InternalProject |
InternalProject.clone(String name)
This method clones a project.
|
Modifier and Type | Method and Description |
---|---|
Set<InternalProject> |
DefaultProvider.getOpenProjects()
Array of all ECPProjects based on this ECPProvider which are open.
|
Set<InternalProject> |
InternalProvider.getOpenProjects()
Array of all ECPProjects based on this ECPProvider which are open.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalProvider.cloneProject(InternalProject projectToClone,
InternalProject targetProject)
This method clones a project.
|
boolean |
DefaultProvider.contains(InternalProject project,
Object object)
Checks whether a specific project contains a specific object.
|
boolean |
InternalProvider.contains(InternalProject project,
Object object)
Checks whether a specific project contains a specific object.
|
protected org.eclipse.emf.common.command.CommandStack |
DefaultProvider.createCommandStack(InternalProject project)
This is used during the creation of the
EditingDomain . |
org.eclipse.emf.edit.domain.EditingDomain |
DefaultProvider.createEditingDomain(InternalProject project)
This method creates an editing domain each time it is called.
|
org.eclipse.emf.edit.domain.EditingDomain |
InternalProvider.createEditingDomain(InternalProject project)
This method creates an editing domain each time it is called.
|
void |
DefaultProvider.delete(InternalProject project,
Collection<Object> objects)
Deletes a collection of EObjects from the model.
|
void |
InternalProvider.delete(InternalProject project,
Collection<Object> objects)
Deletes a collection of EObjects from the model.
|
abstract void |
DefaultProvider.doDelete(InternalProject project,
Collection<Object> objects)
Executes the delete opertation.
|
void |
DefaultProvider.doSave(InternalProject project)
Convenient implementation where nothing happens.
|
void |
InternalProvider.doSave(InternalProject project)
This method manually triggers the save of the model data.
|
org.eclipse.emf.common.util.EList<? extends Object> |
InternalProvider.getElements(InternalProject project)
This method returns an
EList of the root elements. |
Iterator<org.eclipse.emf.ecore.EObject> |
DefaultProvider.getLinkElements(InternalProject project,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.emf.ecore.EReference eReference)
Convenient implementation of the
DefaultProvider.getLinkElements(InternalProject, EObject, EReference) method to use the
ItemPropertyDescriptor to get all object of an object. |
Iterator<org.eclipse.emf.ecore.EObject> |
InternalProvider.getLinkElements(InternalProject project,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.emf.ecore.EReference eReference)
Return all
EObject s that this provider supports for linking them to the modelElement and the provided
eReference. |
org.eclipse.emf.common.notify.Notifier |
InternalProvider.getRoot(InternalProject project)
Method checking whether an object is the root of the model container.
|
boolean |
DefaultProvider.isDirty(InternalProject project)
Convenient implementation where the provider saves changes of the project automatically, so a project never gets
dirty.
|
boolean |
InternalProvider.isDirty(InternalProject project)
This method checks, whether the model is in a dirty state.
|
boolean |
DefaultProvider.modelExists(InternalProject project)
Convenient implementation that return true during this check.
|
boolean |
InternalProvider.modelExists(InternalProject project)
Checks whether the data of the project still exists, method is called on startup.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkspaceProvider.cloneProject(InternalProject projectToClone,
InternalProject targetProject)
This method clones a project.
|
boolean |
WorkspaceProvider.contains(InternalProject project,
Object object) |
org.eclipse.emf.edit.domain.EditingDomain |
WorkspaceProvider.createEditingDomain(InternalProject project) |
void |
WorkspaceProvider.doDelete(InternalProject project,
Collection<Object> objects)
Executes the delete opertation.
|
void |
WorkspaceProvider.doSave(InternalProject project) |
org.eclipse.emf.common.util.EList<? extends Object> |
WorkspaceProvider.getElements(InternalProject project)
This method returns an
EList of the root elements. |
org.eclipse.emf.common.notify.Notifier |
WorkspaceProvider.getRoot(InternalProject project)
Method checking whether an object is the root of the model container.
|
boolean |
WorkspaceProvider.isDirty(InternalProject project) |
void |
WorkspaceProvider.reload(InternalProject project)
Reloads the project.
|
Copyright © 2016. All rights reserved.