Modifier and Type | Method and Description |
---|---|
void |
E4ModelElementOpener.openModelElement(Object modelElement,
ECPProject ecpProject)
Opens a model element in
ECPE4Editor . |
Modifier and Type | Method and Description |
---|---|
ECPProject |
ECPProjectManager.createProject(ECPProject project,
String name)
Method to construct a new Project based on an existing project as template.
|
ECPProject |
ECPProjectManager.createProject(ECPProvider provider,
String name)
Method to construct an offline Project, this method calls
ECPProjectManager.createProject(ECPProvider, String, ECPProperties) with empty properties. |
ECPProject |
ECPProjectManager.createProject(ECPProvider provider,
String name,
ECPProperties properties)
Method to construct an offline Project and notify listeners about this add.
|
ECPProject |
ECPProjectManager.createProject(ECPRepository repository,
String name,
ECPProperties properties)
Method to construct an shared Project, e.g.
|
ECPProject |
ECPProjectManager.getProject(Object adaptable)
Retrieves the project the adaptable belongs to if possible.
|
ECPProject |
ECPProjectManager.getProject(String name)
Searches for a project based on the provided
String . |
Modifier and Type | Method and Description |
---|---|
Collection<ECPProject> |
ECPProjectManager.getProjects()
Returns all known projects.
|
Modifier and Type | Method and Description |
---|---|
ECPProject |
ECPProjectManager.createProject(ECPProject project,
String name)
Method to construct a new Project based on an existing project as template.
|
Modifier and Type | Method and Description |
---|---|
ECPProject |
ECPProjectAware.getProject()
This returns the project this object belongs to or references in any way.
|
Modifier and Type | Method and Description |
---|---|
void |
ECPProjectContentTouchedObserver.contentTouched(ECPProject project,
Collection<Object> objects,
boolean structural)
This is called when objects of a project changed.
|
Collection<Object> |
ECPProjectContentChangedObserver.objectsChanged(ECPProject project,
Collection<Object> objects)
Return an Collection affected Objects.
|
void |
ECPProjectOpenClosedObserver.projectChanged(ECPProject project,
boolean opened)
This is called when a project is opened or closed.
|
void |
ECPProjectPreDeleteObserver.projectDelete(ECPProject project)
Method that gets notified before a project is deleted.
|
Modifier and Type | Method and Description |
---|---|
void |
ECPProjectsChangedObserver.projectsChanged(Collection<ECPProject> oldProjects,
Collection<ECPProject> newProjects)
This is called when a project changes, so if it is either added or removed.
|
void |
ECPProjectsChangedObserver.projectsChanged(Collection<ECPProject> oldProjects,
Collection<ECPProject> newProjects)
This is called when a project changes, so if it is either added or removed.
|
Modifier and Type | Method and Description |
---|---|
void |
ExportProjectHandler.execute(org.eclipse.swt.widgets.Shell shell,
ECPProject ecpProject)
Called by the framework when handler is triggered.
|
Modifier and Type | Method and Description |
---|---|
ECPProject |
EMFStoreProvider.getProject(org.eclipse.emf.emfstore.client.ESLocalProject projectSpace)
This gets the ECPProject based on a ProjectSpace.
|
Modifier and Type | Method and Description |
---|---|
static EMFStoreDirtyDecoratorCachedTree |
EMFStoreDirtyDecoratorCachedTree.getInstance(ECPProject project)
Static
EMFStoreDirtyDecoratorCachedTree singleton. |
void |
EMFStoreDirtyDecorator.projectDelete(ECPProject project)
Method that gets notified before a project is deleted.
|
static void |
EMFStoreDirtyDecoratorCachedTree.removeProject(ECPProject project)
Removes an ECPProject from the Cache.
|
Modifier and Type | Method and Description |
---|---|
void |
EditorModelElementOpener.openModelElement(Object modelElement,
ECPProject ecpProject)
Opens the default ECP Editor for an
EObject and the corresponding ECPProject . |
Constructor and Description |
---|
EditorContext(org.eclipse.emf.ecore.EObject modelElement,
ECPProject ecpProject)
Default constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ECPProjectImpl |
Modifier and Type | Method and Description |
---|---|
ECPProject |
ECPProjectManagerImpl.createProject(ECPProject project,
String name)
Method to construct a new Project based on an existing project as template.
|
ECPProject |
ECPProjectManagerImpl.createProject(ECPProvider provider,
String name)
Method to construct an offline Project, this method calls
ECPProjectManager.createProject(ECPProvider, String, ECPProperties) with empty properties. |
ECPProject |
ECPProjectManagerImpl.createProject(ECPProvider provider,
String name,
ECPProperties properties)
Method to construct an offline Project and notify listeners about this add.
|
ECPProject |
ECPProjectManagerImpl.createProject(ECPRepository repository,
String name,
ECPProperties properties)
Method to construct an shared Project, e.g.
|
Modifier and Type | Method and Description |
---|---|
Collection<ECPProject> |
ECPProjectManagerImpl.getProjects()
Returns all known projects.
|
Modifier and Type | Method and Description |
---|---|
void |
ECPProjectManagerImpl.changeProject(ECPProject project,
boolean opened,
boolean store)
This is called by projects to notify observers if a project gets openes or closed.
|
ECPProject |
ECPProjectManagerImpl.createProject(ECPProject project,
String name)
Method to construct a new Project based on an existing project as template.
|
void |
ECPProjectManagerImpl.notifyObjectsChanged(ECPProject project,
Collection<Object> objects,
boolean structural)
This is called by projects to notify observers about object changes.
|
Constructor and Description |
---|
ECPProjectSelectionModelClassCompositeImpl(ECPProject project)
Constructor that delegates to the
AbstractEClassTreeSelectionComposite.AbstractEClassTreeSelectionComposite(java.util.Collection, java.util.Collection, java.util.Collection)
by reading the data from the project. |
Modifier and Type | Method and Description |
---|---|
ECPProject |
ProjectPropertiesDialog.getProject() |
Constructor and Description |
---|
ProjectPropertiesDialog(org.eclipse.swt.widgets.Shell parentShell,
boolean editable,
ECPProject project) |
Modifier and Type | Method and Description |
---|---|
void |
ModelContentProvider.contentTouched(ECPProject project,
Collection<Object> objects,
boolean structural)
This is called when objects of a project changed.
|
void |
ModelContentProvider.projectChanged(ECPProject project,
boolean opened)
This is called when a project is opened or closed.
|
void |
ModelLabelProvider.projectChanged(ECPProject project,
boolean opened)
This is called when a project is opened or closed.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelContentProvider.projectsChanged(Collection<ECPProject> oldProjects,
Collection<ECPProject> newProjects)
This is called when a project changes, so if it is either added or removed.
|
void |
ModelContentProvider.projectsChanged(Collection<ECPProject> oldProjects,
Collection<ECPProject> newProjects)
This is called when a project changes, so if it is either added or removed.
|
Modifier and Type | Method and Description |
---|---|
static void |
ECPImportHandlerHelper.importElement(org.eclipse.swt.widgets.Shell shell,
ECPProject ecpProject)
Connects an
EObject with another imported EObject which will be selected via a dialog. |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalProject |
Modifier and Type | Method and Description |
---|---|
static ECPProject |
ECPHandlerHelper.createProject(org.eclipse.swt.widgets.Shell shell)
This method creates a new project.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.emf.ecore.EObject |
ECPHandlerHelper.addModelElement(ECPProject ecpProject,
org.eclipse.swt.widgets.Shell shell,
boolean open)
Add a new
EObject to the root of an ECPProject . |
static void |
ECPHandlerHelper.changeCloseState(ECPProject[] closeables,
String currentType)
This method closes/opens an array of ECPProject.
|
static void |
ECPHandlerHelper.deleteModelElement(ECPProject project,
Collection<Object> objects)
This helper method is used to delete model elements from a project.
|
static void |
ECPHandlerHelper.filterProjectPackages(ECPProject ecpProject,
org.eclipse.swt.widgets.Shell shell)
This method allows the user to filter the visible packages and classes.
|
static void |
ECPHandlerHelper.openModelElement(Object modelElement,
ECPProject ecpProject)
Open a view for the given model element.
|
static void |
ECPHandlerHelper.openModelElement(Object modelElement,
ECPProject ecpProject,
Map<Object,Object> contextMap)
Open a view for the given model element.
|
static void |
ECPHandlerHelper.openProjectProperties(ECPProject project,
boolean editable,
org.eclipse.swt.widgets.Shell shell)
Opens a Dialog showing the properties of the provided
ECPProject . |
static void |
ECPHandlerHelper.saveProject(ECPProject project)
Triggers the save on an
ECPProject . |
Modifier and Type | Method and Description |
---|---|
static SelectionComposite<org.eclipse.jface.viewers.TreeViewer> |
ECPCompositeFactory.getSelectModelClassComposite(ECPProject project) |
Modifier and Type | Method and Description |
---|---|
boolean |
NewModelElementHandler.canExecute(ECPProject ecpProject)
Checks if the current selection is an
ECPProject . |
boolean |
DeleteProjectHandler.canExecute(ECPProject ecpProject,
List<ECPProject> ecpProjects)
Checks if a single project or a list of projects are selected.
|
void |
OpenProjectHandler.execute(ECPProject ecpProject)
Opens the selected
ECPProject . |
void |
CloseProjectHandler.execute(ECPProject ecpProject)
Closes the selected
ECPProject . |
void |
FilterPackagesHandler.execute(ECPProject ecpProject,
org.eclipse.swt.widgets.Shell shell)
Opens a dialog for adjusting the packages filter.
|
void |
NewModelElementHandler.execute(org.eclipse.swt.widgets.Shell shell,
ECPProject ecpProject)
Opens a dialog to select a new
EObject to be created. |
void |
DeleteProjectHandler.execute(org.eclipse.swt.widgets.Shell shell,
ECPProject ecpProject,
List<ECPProject> ecpProjects)
Deletes a project or a list of projects, based on the selection.
|
void |
ImportHandler.execute(org.eclipse.swt.widgets.Shell shell,
org.eclipse.emf.ecore.EObject eObject,
ECPProject ecpProject)
Imports an
EObject which will be selected via a dialog into the current project. |
Modifier and Type | Method and Description |
---|---|
boolean |
DeleteProjectHandler.canExecute(ECPProject ecpProject,
List<ECPProject> ecpProjects)
Checks if a single project or a list of projects are selected.
|
void |
DeleteProjectHandler.execute(org.eclipse.swt.widgets.Shell shell,
ECPProject ecpProject,
List<ECPProject> ecpProjects)
Deletes a project or a list of projects, based on the selection.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionalModelLabelProvider.projectChanged(ECPProject project,
boolean opened)
This is called when a project is opened or closed.
|
Modifier and Type | Method and Description |
---|---|
void |
ECPModelElementOpener.openModelElement(Object element,
ECPProject ecpProject)
The action to open the model element.
|
void |
ECPModelElementOpenerWithContext.openModelElement(Object element,
ECPProject ecpProject,
Map<Object,Object> context)
The action to open the model element.
|
Modifier and Type | Method and Description |
---|---|
IValidationService |
Activator.getValidationService(ECPProject project)
Returns the validation service.
|
Modifier and Type | Method and Description |
---|---|
static void |
ControlGenerator.addControls(ECPProject project,
VContainer compositeToFill,
org.eclipse.emf.ecore.EClass datasegment,
Set<org.eclipse.emf.ecore.EStructuralFeature> features)
Create controls and set them to the view.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.emf.ecore.EClass |
Helper.getRootEClass(ECPProject project)
Retrieves the root ECLass form a project, with the assumption that the project consists only of a
VView . |
Copyright © 2018. All rights reserved.