This document contains the release notes for all major releases of Viewpoint since Viewpoint 5.2 (released in early 2011 as part of Obeo Designer 5.0). Note that not all releases correspond to a version of Obeo Designer; those which do are marked as such. If you are upgrading from a previous version of Obeo Designer, all the notes in the intermediate version concern you.
fr.obeo.dsl.viewpoint.collab.internal.lock.CDOLockManagerImpl.releaseImpliciLocks(Collection<? extends CDOObject> elementsToUnlock, boolean unlockRecursively) has been renamed
fr.obeo.dsl.viewpoint.collab.internal.lock.CDOLockManagerImpl.releaseImpliciLocks(Collection<? extends CDOObject> elementsToUnlock, boolean unlockRecursively)
fr.obeo.dsl.viewpoint.ui.tools.api.views.modelexplorerview.resourcelistener.DefaultModelingProjectResourceListener.isPotentialSemanticResource(IFile) has been added to specify if a file could be a semantic one (VSM and representations files, derived files, repair backups, .svn folders, ... will be ignored).
fr.obeo.dsl.common.ReflectionHelper
setFieldValueWithoutException(Object, String, Object) has been added to specify the new Object value to set.
setFieldValueWithoutException(Object, String, Object, Class has been added to specify the class which is known to declare the field and which should be modified to make the field available.
getFieldValueWithoutException(Object, String, Class) has been added to specify the class which is known to declare the field and which should be modified to make the field available.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.FoldingToggleImageFigure have two new protected constants
FOLD_ICON_HEIGHT and
FOLD_ICON_WIDTH, they corresponds to the size of the different images used to represent the fold toggle associated to edge styles and displayed on diagram elements.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.FoldingToggleImageFigure
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.FoldingToggleImageFigure
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.FoldingToggleAwareClippingStrategy allows to specify the clipping region for
FoldingToggleImageFigure.
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.palette.PaletteManager.update(Diagram, boolean) allows to clean the palette before updating the entries. The existing
update(Diagram) is equivalent to
update(Diagram, false)
fr.obeo.dsl.common.ui.tools.api.find.FindEObjectAction,
fr.obeo.dsl.viewpoint.tools.api.compare.DiagramDiffEngine and
fr.obeo.dsl.viewpoint.tools.api.compare.DiagramMatchEngine have been removed. With their removal, Viewpoint it self does not depend anymore on EMF Compare. This allows downstream users (for example Obeo Designer) to decide freely which version of EMF Compare (if any) they want to use.
Customization under a
Layer to customize style description elements with some
VSMElementCustomization, or reuse ones with
VSMElementCustomizationReuse. He can either customize an attribute through
EAttributeCustomization or a reference through
EReferenceCustomization.
inputLabelExpression in a
directEditLabel tool of a diagram. This new field allows the specifier to set the value that will be displayed when the end-user will switch to ‹direct edit› mode (F2 key or slow double-click).
instanceRolesOrdering on SequenceDiagramDescription to specify the semantic InstanceRole ordering. The resulting collection should contains all candidates of InstanceRoleMappings.
fr.obeo.dsl.viewpoint.business.api.repair.ViewpointRepairProcess to call the repair process.
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices.initRepresentations(EObject,Viewpoint,RepresentationDescription) has been added to replace
DiagramInitializationHelper.initDiagramForElement(),
TableInitializationHelper.initTableForElement and
TreeInitializationHelper.initTreeForElement()
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices.shouldInitializeRepresentation() method replace the
AbstractRepresentationDialectServices.shouldInitializeRepresentation() method
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices.initRepresentationForElement() abstract method has been added to be implemented by concrete dialect services (
DiagramDialectServices,
TableDialectServices and
TreeDialectServices) to replace the
DiagramInitializationHelper.initDiagramForElement(),
TableInitializationHelper.initTableForElement and
TreeInitializationHelper.initTreeForElement() methods.
fr.obeo.dsl.viewpoint.business.api.query.DDiagramQuery.dDiagram has changed to protected (was private) to be accessible from
fr.obeo.dsl.viewpoint.diagram.business.api.query.DDiagramGraphicalQuery.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.locator.DBorderItemLocator : To avoid a problem during shifting of multiple ports simultaneously, a new parameter has been added to some methods (locateOnBorder, locateOnSouthBorder, locateOnNorthBorder, locateOnWestBorder, locateOnEastBorder). This parameter corresponds to the list of ports to ignore during conflict detection. If you call this methods directly in your code, you can use an empty list for this parameter.
fr.obeo.dsl.viewpoint.Style.custom[1..1]:Boolean metamodel attribute has been replaced by
fr.obeo.dsl.viewpoint.Customizable.customFeatures[0..*]:EString to allow style customization at the feature level instead of the style level. And now the
Style inherit of the abstract class
Customizable, in addition to
BasicLabelStyle and
GaugeSection. Then to have the equivalent of
Style.isCustom() call
!Style.getCustomFeatures().isEmpty().
fr.obeo.dsl.common.tools.api.resource.ResourceSetSync.ResourceStatus : the resource status
READONLY has been removed from this enumeration and replaced by the service
fr.obeo.dsl.common.tools.api.resource.ResourceSetSync.isReadOnly.
fr.obeo.dsl.viewpoint.business.api.session.Session.createView(Viewpoint,Collection<EObject>,boolean) has been added to specify if we want create new DRepresentation on Viewpoints selection for RepresentationDescription of the specified Viewpoint having their initialization attribute at true.
fr.obeo.dsl.viewpoint.ui.business.api.viewpoint.ViewpointSelection.openViewpointsSelectionDialog(Session,boolean) method has been added to select viewpoints without creating new DRepresentations for RepresentationDescription with initialization attribute at true.
fr.obeo.dsl.viewpoint.ui.business.api.viewpoint.ViewpointSelectionCallback.selectViewpoint(Viewpoint,Session,boolean) added method to allow viewpoint selection without creating new DRepresentations for RepresentationDescription with initialization attribute at true.
fr.obeo.dsl.common.tools.api.resource.ResourceSyncClient.statusesChanged(Collection<ResourceStatusChange>) has been added to prevent clients when some resources have changed their synchronization status. The previous method
fr.obeo.dsl.common.tools.api.resource.ResourceSyncClient.statusChanged(Resource, ResourceStatus, ResourceStatus) is still there and is called when a resource status is changing.
fr.obeo.dsl.common.tools.api.resource.ResourceSyncClient.ResourceStatusChange has been added to encapsulate a resource change status. It allows to retrieved the resource, its old status and its new status.
fr.obeo.dsl.viewpoint.business.api.diagramtype.IDiagramDescriptionProvider has been added to provide a new Diagram Type that can be managed by the diagram dialect.
fr.obeo.dsl.viewpoint.diagram.sequence.ui.business.api.diagramtype.SequenceDiagramTypeProvider has been added to provide sequence diagram description (in new header context).
fr.obeo.dsl.viewpoint.diagram.business.api.query.DDiagramGraphicalQuery has been added to aggregate all the graphical queries (read-only!) having a
DDiagram as a starting point.
fr.obeo.mda.ecore.extender.tool.api.ModelUtils.resolveAll(Resource res, boolean recursive) has been added for browsing the whole model resolving references recursively. If a new resource is loaded by the resolveAll, this resource is also browsed. Not only the references of the current resource has it is done by ModelUtils.resolveAll(Resource res).
fr.obeo.dsl.common.ui.tools.api.dialog.FeatureEditorDialog: This class is a fork of
org.eclipse.emf.edit.ui.celleditor.FeatureEditorDialog that removes the elements present in the right panel from the left panel. This dialog is used in our VSM editor. A bug has been reported to enhance current EMF FeatureEditorDialog :
Bug 381535.
fr.obeo.dsl.viewpoint.business.api.dialect.ViewpointRepairProcess has been added. That new process includes only repair action since migration is now automatic at loading time.
fr.obeo.dsl.viewpoint.business.api.migration.IMigrationParticipant has been added. All contributions throw fr.obeo.dsl.viewpoint.migrationParticipant extension point have to implement this interface.
fr.obeo.dsl.viewpoint.business.api.repair.IRepairParticipant has been added to contribute to repair process. Implementing this interface throw fr.obeo.dsl.viewpoint.repairParticipant extension point.
fr.obeo.dsl.viewpoint.tools.api.ui.IExternalJavaAction2: This class is an extension of
fr.obeo.dsl.viewpoint.tools.api.ui.IExternalJavaAction2 that adds a method used by the specifier to warn if the action will delete any element. If it is not the case, the performances will be improved.
fr.obeo.dsl.common.ui.tools.api.resource.WorkspaceResourceDialogWithFilter: This class is like the
WorkspaceResourceDialog of
org.eclipse.emf.common.ui.dialogs with a filter field to allow filtering of the dialog content. It is used for background image selection.
fr.obeo.dsl.common.tools.api.resource.ResourceSetSync.isReadOnly: This new service checks if a resource is read-only.
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationInitializationHelper : removed class, its methods has been encapsulated in
AbstractRepresentationDialectServices
fr.obeo.dsl.common.tools.api.resource.AbstractResourceSyncBackend.notifyStatusChanged(Resource, ResourceStatus) has been removed. The client field is now protected, calls to notifyStatusChanged should be replaced by
client.statusChanged(Resource, ResourceStatus, ResourceStatus) to notify that a resource status is changing or by
client.statusesChanged(Collection<ResourceStatusChange>) to notify that a collection of resources have changed.
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices.getMigrationParticipants() has been removed. See fr.obeo.dsl.viewpoint.migrationParticipant extension point to contribute to new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.TagBasedMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFileAutomaticMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.MigrationParticipant has been removed. Useless since new migration process. You have to implement
fr.obeo.dsl.viewpoint.business.api.migration.IMigrationParticipant and contribute to fr.obeo.dsl.viewpoint.migrationParticipant extension point to participate to migration process.
fr.obeo.dsl.viewpoint.diagram.sequence.ui.business.api.diagramtype.SequenceDiagramTypeProvider.migrationParticipants() has been removed. Migration participants are now provide by fr.obeo.dsl.viewpoint.migrationParticipant extension point.
fr.obeo.dsl.viewpoint.business.api.diagramtype.IDiagramDescriptionProvider.migrationParticipants() has been removed. Migration participants are now provide by fr.obeo.dsl.viewpoint.migrationParticipant extension point.
fr.obeo.dsl.viewpoint.tools.api.command.ui.NoUICallback.notifyUserForMigration() has been removed. There is no more automatic migration since new repair and migration process.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper.addMigrationAnnotation(Group, String) has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper.addMigrationAnnotation(DAnalysis, String) has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper.getOrCreateMigrationAnnotation(DAnalysis) has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper.getOrCreateMigrationAnnotation(Group) has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.query.GroupQuery.hasMigrationTag(String) has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFilesMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerGroupTagBasedMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceTagBasedMigrationParticipant has been removed. Useless since new migration process.
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices.getMigrationParticipants() has been removed. Migration participants are now provide by fr.obeo.dsl.viewpoint.migrationParticipant extension point.
fr.obeo.dsl.viewpoint.business.api.query.AbstractDNodeQuery.isCustom() and
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.isCustom methods moved to
fr.obeo.dsl.viewpoint.business.api.query.DDiagramElementQuery.isCustomized() to be more generic because a
DDiagramElement is either a
AbstractDNode or a
DEdge.
and a Commit History view to view the list of commits done on a selected shared object.
*.odesign) to associate a metamodel to a representation has been redesigned to be easier to use and more user-friendly.
fr.obeo.dsl.viewpoint.business.api.session.SavingPolicyImpl.hasChangesToSave() has now its save options merged with them specified in parameter of
SavingPolicyImpl.save() method to avoid a NPE when the
XMLResource.OPTION_USE_CACHED_LOOKUP_TABLE option is use in default save options.
fr.obeo.dsl.viewpoint.diagram.tools.api.part.DiagramEditPartService.copyToImage() throw new SizeTooLargeException if image is largest that define in plugin.properties for properties _Pref_RepresentationExportSizeMax
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.export(DRepresentation representation, Session session, IPath path, ExportFormat format, IProgressMonitor monitor) throws SizeTooLargeException
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.export(DRepresentation representation, Session session, IPath path, ExportFormat format, IProgressMonitor monitor) throws SizeTooLargeException
fr.obeo.dsl.viewpoint.ui.tools.api.actions.export.ExportAction.createImageFiles(final IProgressMonitor monitor) display popup and add error in error log if export image have image too large.
org.eclipse.ui.contexts extensions point. They can be used to define actions and key-bindings which depend on the type of editor being opened. The new context ids are
fr.obeo.dsl.viewpoint.table.ui.EditorID.tableContext and
fr.obeo.dsl.viewpoint.tree.ui.EditorID.treeContext. Diagram editors already provided the
fr.obeo.dsl.viewpoint.diagram.ui.diagramContext context.
fr.obeo.dsl.viewpoint.ui.tools.api.actions.export.SizeTooLargeException New Exception launch when image to export is too large. Exception contains name of representation(s) not exported.
SessionHelper.loadResources() has been removed. To get the same effect, you must explicitly load the resources you need in a session’s
ResourceSet.
Major new features in this version include:
ViewpointQuery.handlesSemanticModelExtension(String ext): new method to test whether a file extension is supported by a given Viewpoint.
fr.obeo.dsl.viewpoint.business.api.session.SessionListener.VSM_UDPATED: a new event to notify that some Viewpoint Specification Model were updated. For example, a workspace .odesign file used in the current session was modified or deleted.
fr.obeo.dsl.viewpoint.business.api.modelingproject
ModelingProject: an IProjectNature to know which projects should be handled in project mode by the modeling explorer
IModelingElement: Common protocol for all elements provided by the Viewpoint modeling model, elements are exposed to clients as handles to the actual underlying element.
AbstractRepresentationsFileJob: specific Viewpoint job for the representationsFile jobs, it adds a specific family.
fr.obeo.dsl.viewpoint.business.api.query.URIQuery aggregates queries (read-only!) having a URI as a starting point.
fr.obeo.dsl.viewpoint.business.api.helper.task.AbstractDeleteDRepresentationElementTask has been defined to pull up common behavior for the deletion of representation elements
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationInitializationHelper has been defined to pull up common behavior between
DiagramInitializationHelper,
TreeInitializationHelper and
TableInitializationHelper
URIQuery.isViewpointEnvironmentURI(): new method to test if this URI is the Viewpoint environment URI.
fr.obeo.dsl.viewpoint.business.api.query.DAnalysisQuery.getSelectedViewpoints() added method to have viewpoints selection for a specific DAnalysis, this method replaces
DAnalysisSession.getSelectedViewpoints(Resource) method
fr.obeo.dsl.viewpoint.business.api.query.DAnalysisQuery.getFirstOrphanDView() added methodto get the first DView without associated Viewpoint to be reused on a DAnalysis
fr.obeo.dsl.viewpoint.tools.api.command.InvalidPermissionCommand : a command to be used when performing a modification that is forbidden by the PermissionAuthority
fr.obeo.dsl.viewpoint.business.api.query.ResourceQuery.isRepresentationsResource(): This method checks if this resource is a representations resource :
fr.obeo.dsl.viewpoint.business.api.session.resource.AirdResource,
fr.obeo.dsl.viewpoint.DAnalysis as content.
fr.obeo.dsl.viewpoint.business.api.query.FileQuery Query as been added, allowing you to determine if a given file/URI describes a Session Resource or a Modeler Description File.
execute() of the interface
fr.obeo.dsl.viewpoint.business.api.session.SessionCreationOperation now throws a CoreException in case of problem during the creation of the session.
asViewpointURI(URI uri, ResourceSet resourceSet) of the class
fr.obeo.dsl.viewpoint.business.api.query.ViewpointURIQuery change behavior. If resourceSet.getEObject(uri) throws an exception, a platform resource URI is created using the URI given in parameters.
id parameter of the
provider element of
fr.obeo.dsl.viewpoint.analysisSelectorProvider extension point is now required instead of optional.
fr.obeo.dsl.viewpoint.business.api.session.Session.isHandled(Resource) which tested if the Resource’s URI in parameter is one of the semantic resources or aird resources of the current
Session has been removed. Now you can obtain the same information by checking if your resource is either in session.getSemanticResources() or in the resources of any session.getAnalyses().
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSessionHelper.shouldCreateANewSession() has been removed because since we have one
TransactionalEditingDomain per
Session we can create 2 Sessions having physical resources in common without parasites between each
Session (except at saving of course). If you doesn’t want create a
Session which have common physical resources you can checks for each existing
Session in
SessionManager if there are common semantic or analysis resources with your resources.
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterRegistry.disposeInterpreterRegistry() is deprecated : this method is now useless because there is nothing to dispose.
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterRegistry.dispose() is deprecated : this method is now useless because there is nothing to dispose.
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession.getAnalysisResources() deprecated method removed : now you can use
fr.obeo.dsl.viewpoint.business.api.session.Session.getAllSessionResources()
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSelector.selectSmartlyAnalysisForCreatedView() removed method because now the viewpoint selection is always stored in the main DAnalysis, that of
Session.getSessionResource(), the user hasn’t the choice of where store the viewpoints selection.
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSessionHelper.selectAnalysis(Viewpoint,Collection<DAnalysis>,DAnalysisSelector) removed method because the DAnalysis on which viewpoint selection is stored is always the main DAnalysis, that of
Session.getSessionResource(), the user hasn’t the choice.
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession.getSelectedViewpoints(Resource) removed replaced by
DAnalysisQuery.getSelectedViewpoints()
fr.obeo.dsl.viewpoint.business.api.session.Session.createView(Viewpoint,EObject) removed method, because the method
Session.createView(Viewpoint,Collection<EObject>) method can be used
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSessionHelper.selectAnalysis(Viewpoint,Collection<DAnalysis>,DAnalysisSelector) removed because now the Viewpoints selection is always stored on the main DAnalysis (that of Session.getSessionResource()).
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSessionHelper.findFreeContainer(Viewpoint, EObject,Collection<DAnalysis>,DAnalysisSelector) removed because since now the Viewpoints selection is always stored on the main DAnalysis (that of Session.getSessionResource()), this method is not usefull.
fr.obeo.dsl.viewpoint.business.api.preferences.DesignerPreferencesKeys were moved to diagram plugin and preference :
PREF_HIDE_LABEL_ICONS_ON_SHAPES and
PREF_HIDE_LABEL_ICONS_ON_CONNECTORS now in
fr.obeo.dsl.viewpoint.diagram.tools.api.preferences.ViewpointDiagramPreferencesKeys
fr.obeo.dsl.viewpoint.ui.tools.api.project.ModelingProjectManager: a manager to handle
fr.obeo.dsl.viewpoint.business.api.modelingproject.ModelingProject. It exposes several services to create, load, initialize modeling projects.
fr.obeo.dsl.viewpoint.ui.api.views.common.item
CommonItem: interface with services for
ItemWrapper and elements displayed in common navigator without wrapping an object.
ProjectDependenciesItem: a common item to group dependencies of a modeling project. These dependencies can be resource whose linked files are in an other project.
fr.obeo.dsl.viewpoint.ui.tools.api.views.modelexplorerview.IModelExplorerView: interafec to expose the id of the model explorer view.
fr.obeo.dsl.viewpoint.ui.tools.api.wizards.page.ViewpointsSelectionWizardPage has a new constructor to allow to activate default viewpoints by their name (see parameter
List<String> viewpointsNamesToActivateByDefault)
fr.obeo.dsl.viewpoint.ui.business.api.preferences.DesignerUIPreferenceKeys :
PREF_REACT_TO_PERMISSION_ISSUE_BY_GRAPHICAL_DISPLAY allows to specify whether permission issues should be displayed graphically to end-user. If so, the
PREF_DISPLAY_PERMISSION_ISSUES_THROUGH_DIALOG allows to specify wether these issues should be displayed through the Dialect (e.g. a Figure inside the Diagram) or through a standard pop-up
fr.obeo.dsl.viewpoint.ui.tools.api.image.ImagesPath.CREATE_VIEW_ICON must be used instead of
fr.obeo.dsl.viewpoint.diagram.ImagesPath.CREATE_VIEW_ICON
fr.obeo.dsl.viewpoint.ui.tools.api.image.ImagesPath.HAS_DIAG_IMG must be used instead of
fr.obeo.dsl.viewpoint.diagram.ImagesPath.HAS_DIAG_IMG.
fr.obeo.dsl.viewpoint.ui.modelprojectresourcelistener extension point has been added. It is not meant to be extended by clients.
fr.obeo.dsl.viewpoint.ui.business.api.logger.MarkerRuntimeLogger has been moved to
fr.obeo.dsl.viewpoint.business.api.logger.MarkerRuntimeLogger. The marker type has also been changed from
fr.obeo.dsl.viewpoint.ui.viewpointMarker to
fr.obeo.dsl.viewpoint.viewpointMarker.
fr.obeo.dsl.viewpoint.ui.api.views.sessionview.item to
fr.obeo.dsl.viewpoint.ui.api.views.common.item
ItemDecorator
ItemWrapper
RepresentationDescriptionItem
ResourceItem renamed to
AnalysisResourceItem: its aims is to wrap a resource containing
DAnalysis.
ResourceFolderItem
ViewpointItem
ViewpointFolderItem
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionHelper.selectRepresentationsToOpen has an additional String parameter named «representationsOrigin» : A String representing the origin of the candidates (for example «from projectName», or «from representations file fileName»), or null if no precision is needed. This information is displayed in the message of the dialog, at the end of the message «Select the startup representations to open».
createSessionAndRepresentation of class
fr.obeo.dsl.viewpoint.ui.business.api.editor.SpecificEditorInputTranformer now throws a CoreException in case of problem during the creation of the session.
fr.obeo.dsl.viewpoint.ui.tools.api.actions.export.ExportAction.setData() replaced by a constructor to renseign which DRepresentation to export where and in which format.
fr.obeo.dsl.viewpoint.ui.tools.api.views.sessionview.SessionView has been removed, now the «Model Explorer» view is used.
fr.obeo.dsl.viewpoint.ui.tools.api.views.ViewHelper.getSessionLabelProvider() has been removed. If you used this, you can add this method in your code (it is a copy of the previous implementation):
public ILabelProvider getSessionLabelProvider() {
if (labelProvider == null) {
labelProvider = new LabelProvider() {
@Override
public Image getImage(final Object element) {
return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER);
}
};
}
return labelProvider;
}
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper.setAnalysisSelector() removed method because now the contributed
DAnalysisSelector is setted internally by the
Session itself
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper.setReloadingWithUIPolicy() removed method has been removed because now the default reloadingPolicy is set by the
IEditingSession itself when calling
SessionUIManager.INSTANCE.getOrCreateUISession(Session)
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterErrorListener has been removed
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterErrorNotifier has been removed
fr.obeo.dsl.common.tools.api.util.MarkerUtil provides utility methods that aid in the creation of
org.eclipse.core.resources.IResource markers
org.eclipse.core.resources.IMarker.
fr.obeo.dsl.common.tools.api.util.EclipseUtil.getExtensionPlugins(Class, String extensionId, String executableAttribute, String attributeName, Predicate<String> attributeValuePredicate) provides a method to get the list of extensions which contribute to an extension ID, and with an attribute value whose value corresponds to the given predicate.
fr.obeo.dsl.common.tools.api.resource.ResourceSetFactory a factory instanciating the ResourceSet implementation used to load the models. The factory might be overriden through extension point. This change is required to make sure an XTextResourceSet gets instanciated when using XText and Viewpoint together.
fr.obeo.dsl.common.tools.api.interpreter.IInterpreter no longer extends
fr.obeo.dsl.common.tools.api.contentassist.IProposalProvider. If you have an
IInterpreter implementation which supports auto-completion, you must implement
IProposalProvider explicitly, either in your interpreter or in a separate class. In both case, the proposal provider must be registered using the new extension point
fr.obeo.dsl.common.proposalProvider. This changes allows for separate implementations of these two related but different concepts.
fr.obeo.dsl.common.tools.api.editing.IEditingDomainFactory.createEditingDomain() has been deprecated as it can’t call the newly introduced
ResourceSetFactory. One should call
org.eclipse.emf.transaction.TransactionalEditingDomain.Factory.createEditingDomain(ResourceSet) instead passing the ResourceSet instance.
fr.obeo.dsl.common.ui.tools.api.view.IExpandSelectionTarget : Interface for views which support reveal.
fr.obeo.dsl.common.ui.tools.api.util.EclipseUIUtil.expand(IResource, IWorkbenchWindow) : This method attempts to expand the resource in all parts (implementing
IExpandSelectionTarget) within the supplied workbench window’s active page.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelp.getCell(DLine, String) has been deprecated. The method is dangerous as several columns in a given table may have the same feature name. Use the
getCell(DLine, DColumn) method instead to be sure to target the proper column.
EObject eDelete(EObject objectToRemove, ECrossReferenceAdapter xref, Predicate<EReference> isReferencesToIgnorePredicate); method has been added to
fr.obeo.mda.ecore.extender.business.api.accessor.IMetaModelExtender and
fr.obeo.mda.ecore.extender.business.api.accessor.ModelAccessor, to be able to ignore some cross-references during the deletion of an element.
fr.obeo.mda.ecore.extender.business.api.permission.exception.LockedInstanceException(final String message) constructor has been added, allowing to build a LockedInstanceException with a precise message explaining the error cause, without having to specify the locked elements.
fr.obeo.dsl.viewpoint.business.api.preferences.DesignerPreferencesKeys to
fr.obeo.dsl.viewpoint.diagram.tools.api.preferences.ViewpointDiagramPreferencesKeys
PREF_HIDE_LABEL_ICONS_ON_SHAPES to say whether icons of the labels on diagram shapes should be hidden or not.
PREF_HIDE_LABEL_ICONS_ON_CONNECTORS to say whether icons of the labels on diagram connectors should be hidden or not.
fr.obeo.dsl.viewpoint.diagram.business.api.query.ViewQuery: A class aggregating all the queries (read-only!) having a
org.eclipse.gmf.runtime.notation.View as a starting point.
fr.obeo.dsl.viewpoint.diagram.business.api.query.ConnectionQuery: A class aggregating all the queries (read-only!) having a
org.eclipse.draw2d.Connection as a starting point.
fr.obeo.dsl.viewpoint.diagram.business.api.query.EdgeQuery: A class aggregating all the queries (read-only!) having a
org.eclipse.gmf.runtime.notation.Edge as a starting point.
fr.obeo.dsl.viewpoint.diagram.ImagesPath.CREATE_VIEW_ICON must be replaced by
fr.obeo.dsl.viewpoint.ui.tools.api.image.ImagesPath.CREATE_VIEW_ICON
fr.obeo.dsl.viewpoint.diagram.ImagesPath.HAS_DIAG_IMG has been removed. You can now used
fr.obeo.dsl.viewpoint.ui.tools.api.image.ImagesPath.HAS_DIAG_IMG. For example :
ViewpointEditPlugin.INSTANCE.getImageDescriptor(ImagesPath.HAS_DIAG_IMG).
sessionFactory extension point have override attribute now in case we have several contributions to not take the first contributed but the most overridding
uiSessionFactory new extension point to contribute custom
UISessionFactory to create
IEditingSession.
fr.obeo.dsl.viewpoint.ui.business.api.session.factory.UISessionFactory : interface for concrete contribution to the
uiSessionFactory extension point.
newmodeldependencywizard new extension point to contribute custom
IAddModelDependencyWizard.
fr.obeo.dsl.viewpoint.ui.tools.api.actions.analysis.IAddModelDependencyWizard : interface describing a wizard that will be used to allow the end-user to add a semantic resource to viewpoint sessions.
fr.obeo.dsl.viewpoint.ui.tools.api.permission.DRepresentationPermissionStatusListener : move to
fr.obeo.dsl.viewpoint.tools.api.permission.DRepresentationPermissionStatusListener in viewpoint.ui plugin
fr.obeo.dsl.viewpoint.ui.tools.api.permission.DRepresentationPermissionStatusQuery : move to
fr.obeo.dsl.viewpoint.tools.api.permission.DRepresentationPermissionStatusQuery in viewpoint.ui plugin
fr.obeo.dsl.viewpoint.diagram.edit.api.part.IDiagramElementEditPart :
IDiagramElementEditPart.getEAdapterStyle() operation is now useless.
fr.obeo.dsl.viewpoint.diagram.layoutDataManager exists for the copy/paste layout feature, to customize the pasted layout, for example change the mapping used by a node in the copy.
odesign and
aird files that use tables is necessary. Most of the changes are made to follow the same pattern: a containment reference prefixed with
owned, an equivalent non-containment reference prefixed with
reused, and a derived non-containment reference prefixed with
all which is defined as the union of the other two. Client code which used containment reference should be updated to used the derived
all* reference.
TableDescription.reusedRepresentationCreationDescription and
TableDescription.allRepresentationCreationDescription.
TableDescription.reusedRepresentationNavigationDescription and
TableDescription.allRepresentationNavigationDescription.
TableDescription.lineMappings into
ownedLineMappings and added
reusedLineMappings and
allLineMappings.
EditionTableDescription.columnMappings into
ownedColumnMappings and added
reusedColumnMappings and
allColumnMappings.
LineMapping.createLine into
ownedCreateLine, and added
reusedCreateLine and
allCreateLine.
LineMapping.subLines into
ownedSubLines and added
reusedLineMappings and
reusedSubLines.
aird files that use tables is necessary. This changes are needed to improve the disk space needed to store a table representation.
Option<DCell> instead of
DCell.
fr.obeo.dsl.viewpoint.business.api.session.Session.getAllSessionResources() replaces the deprecated (and more specific)
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession.getAnalysisResources().
fr.obeo.dsl.viewpoint.business.api.migration.resource.TagBasedMigrationParticipant: a migration participant defining a tag. The tag is applied after a migration. A tag based participant is used during migration only if the tag is not present.
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerGroupTagBasedMigrationParticipant: a tag based participant able to make changes on a group. These participants are called at the end of odesign migrations.
fr.obeo.dsl.viewpoint.business.api.query:
EObjectQuery#getValues(EReference): get all the EOjects referenced the specified feature.
GroupQuery#hasMigrationTag(String tag): query to check if a migration tag is present on a group.
EStructuralFeatureQuery: several queries on EMF
EStructuralFeatures:
existsIn(),
isContainment(),
isAssignableFrom().
DRepresentationElementQuery#getParentRepresentation: query to get the parent representation of a
DRepresentationElement
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper#addMigrationAnnotation(Group group, String tag): helper to add a migration tag on a group.
fr.obeo.dsl.viewpoint.business.api.session.SessionListener.REPRESENTATION_FROZEN : a new event to notify of frozen representation in manual refresh, i.e. when incoming changes occurs (remote changes from another client in collaborative mode)
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices: new method
refreshEffectiveRepresentationDescription(DRepresentation representation, IProgressMonitor monitor). This is for an experimental feature which is not enabled in normal functioning, and it should have no impact on existing clients. A default, empty implementation is provided in
AbstractRepresentationDialectServices so existing dialect implementations which used that class do not need to be updated.
fr.obeo.dsl.viewpoint.business.api.query.AirDResouceQuery is moved from
fr.obeo.dsl.viewpoint.diagram plugin.
fr.obeo.dsl.viewpoint.description.NodeMapping.createElements(EObject modelElement, DDiagram diagram) add the parameter diagram to access to $diagram variable.
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceTagBasedMigrationParticipant inherits from
fr.obeo.dsl.viewpoint.business.api.migration.resource.TagBasedMigrationParticipant
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFileAutomaticMigrationParticipant inherits from
fr.obeo.dsl.viewpoint.business.api.migration.resource.TagBasedMigrationParticipant
fr.obeo.dsl.viewpoint.tools.api.command.ui.UICallBack add new method String getSessionNameToDisplayWhileSaving(Session session) to change part of message while saving session.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper:
computeAllMappings(): use
DiagramDescriptionMappingManagerQuery(mappingsManager).computeAllMappings() instead.
createElement(): use
NodeMapping.createNode() or
ContainerMapping.createContainer() instead.
getMappingName(): use
DDiagramElementQuery(element).getMappingName() instead.
getMapping(): use
DDiagramElementQuery(element).getMapping() instead.
getParentGroup():
DiagramDescriptionQuery(description).getParentGroup() instead.
findDesignerDiagramElement(DDiagram, String, EObject): no replacement.
findDesignerDiagramElement(String, EObject, DragAndDropTarget): use
DragAndDropTargetQuery(container).findDesignerDiagramElement() instead.
getParentDiagram(): use
EObjectQuery(anyElement).getParentDiagram() instead.
getRepresentation(): use
EObjectQuery(anyElement).getRepresentation() instead.
hasCandidatesExpression(): use
DiagramElementMappingQuery(mapping).hasCandidatesExpression() instead.
getSourceMappings(): use
EdgeMapping.getSourceMapping()
getTargetMappings(): use
EdgeMapping.getTargetMapping()
anyMappingIsFrom(): use
DMappingBasedQuery(diagramElement).isFromAnyMapping()
getAllSections(): no direct replacement.
getOperationActions(): use
ToolSectionQuery(toolSection).getOperationActions() instead.
getExternalJavaActions(): use
ToolSectionQuery(toolSection).getExternalJavaActions() instead.
getAllDiagramElements(): use
DDiagramInternalQuery(diagram).getDiagramElements() instead.
getEdgeMapping(): use
IEdgeMappingQuery(mapping).getEdgeMapping() instead.
areEquals(): use
AbstractDNodeQuery(eObj).equalsTo() instead.
findHiddenElements(): use
DDiagramQuery(dDiagram).findHiddenElements() instead.
containsHiddenElements(): use
DDiagramQuery(dDiagram).containsHiddenElements() instead.
isHidden(): use
DiagramQuery(diagram).isHidden() instead.
getAnnotation(): use
DRepresentationQuery(representation).getAnnotation()
isSynchronizedAndCreateElement(): use
DiagramElementMappingQuery(diagramElementMapping).isSynchronizedAndCreateElement() instead.
fr.obeo.dsl.viewpoint.business.api.helper.write.
DAnalysisSessionHelper.updateSemanticRoot : removed this unused and ambiguous method
fr.obeo.dsl.viewpoint.ui.tools.api.views.modelexplorerview.IModelExplorerView : new view id.
fr.obeo.dsl.viewpoint.ui.modelExplorerTabExtension : allows to extends the model explorer view with tabs.
fr.obeo.dsl.viewpoint.ui.tools.api.views.modelexplorerview.IModelExplorerTabExtension : interface to implements for tab extensions.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices :
setSelection(DialectEditor, List<DRepresentationElement>) : set the given
DRepresentationElement as selection in the given editor.
Collection<DSemanticDecorator> getSelection(DialectEditor) : gets the selected
DSemanticDecorator in the given editor.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor inherits from
org.eclipse.ui.ISaveablePart2 and
org.eclipse.ui.ISaveablesSource
fr.obeo.dsl.viewpoint.ui.business.api.session.IEditingSession#promptToSaveOnClose: dialect editors should delegates promptToSaveOnClose to their editing session which able to prompt the save dialog and react to values regarding the preferences.
fr.obeo.dsl.viewpoint.ui.business.api.preferences.DesignerUIPreferencesKeys#PREF_RELOAD_ON_LAST_EDITOR_CLOSE: indicates if the session has to be reloaded when closing the last editor.
fr.obeo.dsl.viewpoint.ui.business.api.action.IRefreshActionListener : allows to define a listener that will be notified of any refresh launched by the user
fr.obeo.dsl.viewpoint.ui.business.api.action.RefreshActionListenerRegistry : a registry allowing to manage IRefreshActionListeners.
fr.obeo.dsl.viewpoint.ui.business.api.viewpoint.ViewpointSelection#getMissingDependencies(Set<Viewpoint> selected): Compute the missing viewpoint dependencies (if any) for all the viewpoints enabled by the user. This is used by the default viewpoint selection UI to ensure the the selection is consistent. It should be used by any alternative viewpoint selection UI to ensure the same guarantees.
fr.obeo.dsl.viewpoint.ui.business.api.viewpoint.ViewpointResourceHelper: removed. Use the equivalent
fr.obeo.dsl.viewpoint.business.api.helper.ViewpointResourceHelper (from the non-UI Viewpoint plug-in).
fr.obeo.dsl.viewpoint.ui.tools.api.views.sessionview.SessionView: use the new view
IModelExplorerView instead.
fr.obeo.dsl.viewpoint.ui.business.api.session.EditingSession: use the interface
fr.obeo.dsl.viewpoint.ui.business.api.session.IEditingSession instead
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditorManager removed: because not referenced by others Viewpoint classes and doesn’t contains attributes/operations then useless
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditorDialogFactory#shouldReloadDataOrCloseEditorDialog removed. no replacement
fr.obeo.dsl.common.ui.tools.api.query.FigureQuery
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel
fr.obeo.dsl.common.ui.tools.api.graphical.figure package with
InvisibleResizableCompartmentFigure and others classes.
fr.obeo.dsl.common.ui.tools.api.graphical.figure.locator package
fr.obeo.dsl.common.ui.tools.api.graphical.figure.anchor package
fr.obeo.dsl.common.ui.tools.api.graphical.CompoundEditPolicy
fr.obeo.dsl.common.ui.tools.api.util.GMFNotationHelper
fr.obeo.dsl.common.ui.tools.api.util.EditPartTools
fr.obeo.dsl.viewpoint.diagram.ui.tools.api package contains the classes moved from
fr.obeo.dsl.common.ui plug-in
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.color.ColorManager manages the color in complement to
fr.obeo.dsl.viewpoint.ui.tools.api.color.VisualBindingManager with use of draw2d API to compute some colors
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure
SVGFigure: figure to handle svg image files, extracted from plug-in org.eclipse.gmf.runtime.lite.svg
AbstractCachedSVGFigure: figure which inherits from
SVGFigure and caches the corresponding swt
Image.
IWorkspaceImageFigure: a new interface for workspace image figures, corresponds to WorkspaceImageDescription styles.
SVGWorkspaceImageFigure: a new figure to handle svg images (inherits from AbstractCachedSVGFigure, extends IWorkspaceImageFigure).
fr.obeo.dsl.viewpoint.diagram.tools.api.part.DiagramEditPartService#arrangeCreatedViews(DiagramEditPart): execute a non-dirtying command to layout GMF views created by a
link fr.obeo.dsl.viewpoint.diagram.business.api.view.refresh.CanonicalSynchronizer
fr.obeo.dsl.viewpoint.diagram.edit.api.part.IDDiagramEditPart
Option<DDiagram> resolveDDiagram() return the diagram represented by the current part.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout
ILayoutDataManagerProvider: interface defining a provider for layout data manager extension point.
AbstractViewpointLayoutDataManager : an abstract
ViewpointLayoutDataManager
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure
BundledImageFigure: inheritance changed from
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.AbstractTransparentImage to
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.AbstractCachedSVGFigure
WorkspaceImageFigure: inherits from
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.IWorkspaceImageFigure
fr.obeo.dsl.viewpoint.diagram.edit.api.part
IDiagramContainerEditPart:
getBackgroundFigure() return type changed from
org.eclipse.draw2d.ImageFigure to
org.eclipse.draw2d.IFigure
IDiagramListEditPart: see
IDiagramContainerEditPart
AbstractDiagramContainerEditPart: see
IDiagramContainerEditPart
AbstractDiagramListEditPart: see
IDiagramContainerEditPart
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.LayoutDataHelper#getRootLayoutData: add generic in return and parameter types.
fr.obeo.dsl.viewpoint.diagram.part.ViewpointDiagramEditorPlugin.getInstance().getUiCallback() was replaced by
fr.obeo.dsl.viewpoint.provider.ViewpointEditPlugin.getPlugin().getUiCallback()
fr.obeo.dsl.viewpoint.diagram.part.ViewpointDiagramEditorPlugin.getInstance().setUiCallback(UICallBack uiCallback) was replaced by
fr.obeo.dsl.viewpoint.provider.ViewpointEditPlugin.getPlugin().setUiCallback(UICallBack uiCallback)
fr.obeo.dsl.viewpoint.diagram.part.ViewpointDiagramEditor do not inherits from
org.eclipse.ui.ISaveablesSource any more. This is done by
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.BundledImageFigure
ImageFigure createImageFigure(ContainerStyle)
refreshFigure(ContainerStyle)
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.ViewpointLayoutDataManager.getInstance()
fr.obeo.dsl.viewpoint.diagram.business.api.query.AirDResouceQuery is moved to
fr.obeo.dsl.viewpoint plugin.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getTableElement(DTableElementStyle) : Return the parent DTableElement of this DTableElementStyled.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.canEditCrossTableCell(DCell) : Test if the cell can be edited. The cell can be edited if it has a CellUpdater which provides a LabelEditTool.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getCreateCellTool(DLine, DColumn) : Return the first CreateCellTool corresponding to the intersection of this line and column.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getForegroundStyleToApply((DLine, DColumn) : Return an optional DTableElementStyle to use for the background of the cell intersection of line and column. The DCell corresponding to this intersection does not exist.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getBackgroundStyleToApplyDLine, DColumn) : Return an optional DTableElementStyle to use for the background of the cell intersection of line and column. The DCell corresponding to this intersection does not exist.
fr.obeo.dsl.viewpoint.table.business.api.query : This package includes some queries classes : DCellQuery, DColumnQuery, DLineQuery, DTableElementStyleQuery, DTableQuery, StyleUpdaterQuery.
fr.obeo.dsl.viewpoint.table.tools.api.command.ITableCommandFactory.buildCreateCellFromTool(DLine, DTargetColumn) : Create a command that creates a cell using the CreateCellTool associated with this line and column.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getCell(DLine, DColumn) : This method now returns an optional DCell (with used of
fr.obeo.dsl.common.tools.api.util.Option).
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.canEditCrossTableCell(DLine, DTargetColumn) : This method replaces the method canEditCrossTableCell(DCell).
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.canCreate(DLine, DTargetColumn) : This method replaces the method canCreate(DCell).
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper.getCreateCellTool(DCell) : This method now returns an optional CreateCellTool (with used of
fr.obeo.dsl.common.tools.api.util.Option).
fr.obeo.dsl.viewpoint.table.ui.DTableEditor.getControl():Control added to access SWT Control used by the DTableEditor for the table dialects
fr.obeo.dsl.viewpoint.table.ui.business.api.helper.TableUIHelper.getForegroundStyleName(Option<DTableElementStyle>) : This method replaces getForegroundStyleName(DCellStyle).
fr.obeo.dsl.viewpoint.table.ui.business.api.helper.TableUIHelper.getBackgroundStyleName(Option<DTableElementStyle>) : This method replaces getBackgroundStyleName(DCellStyle).
fr.obeo.dsl.viewpoint.tree.ui.business.api.helper.TreeUIHelper : equivalent of
fr.obeo.dsl.viewpoint.table.ui.business.api.helper.TableUIHelper to get a html representation of a swt tree.
fr.obeo.dsl.common.ui.tools.api.util.SWTUtil#showSaveDialog(Object objectToSave, String label, boolean canCancel, boolean stillOpenElsewhere): show the save dialog if stillOpenElseWhere parameter has false value or if IWorkbenchPreferenceConstants.PROMPT_WHEN_SAVEABLE_STILL_OPEN has a true value.
fr.obeo.mda.ecore.extender.business.api.permission.LockStatus three states enumeration differencing lock status as LOCKED_BY_ME, LOCKED_BY_OTHER or NOT_LOCKED.
fr.obeo.mda.ecore.extender.business.api.permission.IPermissionAuthority.getLockStatus(EObject element) get the lock status of the element.
For sequence diagram, we have now the ability to specify timer, i.e. a message which begin before another and finish after another one.
TransactionalEditingDomain used by
Session, then two
Session can’t share a resource in memory, but we can have a physical resource shared by several
Session, but each
Session will have its own instance loaded in memory of this resource.
fr.obeo.dsl.common.editingDomainFactory extension point : to contribute
IEditingDomainFactory extension which create
TransactionalEditingDomain.
fr.obeo.dsl.common.tools.api.editing.DefaultEditingDomainFactory class : the default
IEditingDomainFactory returned by the
EditingDomainFactoryService if not extensions are contributed.
fr.obeo.dsl.common.tools.api.editing.EditingDomainFactoryDescriptor interface : a
IEditingDomainFactory extension descriptor used to instantiate the describe a
IEditingDomainFactory extension.
fr.obeo.dsl.common.tools.api.editing.StandaloneEditingDomainFactoryDescriptor class : a
EditingDomainFactoryDescritpor implementation to contribute extension programmatically.
fr.obeo.dsl.common.tools.api.editing.EditingDomainFactoryRegistry class : the registry of all
IEditingDomainFactory extensions.
fr.obeo.dsl.common.tools.api.editing.EditingDomainFactoryService class : the entry point to get
IEditingDomainFactory.
fr.obeo.dsl.common.tools.api.editing.FileStatusPrecommitListener : a
ResourceSetListener to validate Resource changes by
IFileModificationValidators.
fr.obeo.dsl.common.tools.api.editing.IEditingDomainFactory : a concrete class extension of
fr.obeo.dsl.common.editingDomainFactory extension point.
fr.obeo.dsl.common.tools.api.constant.CommonPreferencesConstants : contains
PREF_DEFENSIVE_EDIT_VALIDATION &
PREF_TRACE_ON constants removed from fr.obeo.dsl.common.ui plugin.
fr.obeo.dsl.common.tools.DslCommonPlugin.PROFILER : Replace
fr.obeo.dsl.common.ui.ViewPointTransPlugin.PROFILER
fr.obeo.dsl.common.tools.api.profiler.ProfilerTaskRegistry : To register the available ProfilerTask for the TimeProfiler.
fr.obeo.dsl.common.tools.api.interpreter.IInterpreterContext : A context providing all informations required by IInterpreter to validate statically an expression and compute completion proposals.
fr.obeo.dsl.common.tools.api.interpreter.IInterpreterStatus : Describes the result of an evaluation or a validation made by an IInterpreter
fr.obeo.dsl.common.tools.api.interpreter.InterpreterStatusFactory : provide facilities for creating IInterpreterStatus
fr.obeo.dsl.common.tools.api.interpreter.DefaultInterpreterContextFactory : provide facilities for creating IInterpreterContext
fr.obeo.dsl.common.tools.api.interpreter.IInterprer :
Collection<IInterpreterStatus> validateExpression(IInterpreterContext context, String expression) method allowing to validate statically an Interpreted Expression before it is evaluated
boolean requiresTargetType() method indicating wether the IInterpreter supports validation or not
fr.obeo.dsl.common.tools.api.contentassist.IProposalProvider : adding the
ContentProposalCollection getNewEmptyExpression() to get a specific proposal for an empty field.
fr.obeo.dsl.common.tools.api.contentassist.ContentProposal : adding the ability to handle the cursor position : the zero-based index position within the contents where the cursor should be placed after the proposal is accepted.
getCursorPosition.
fr.obeo.dsl.common.tools.api.interpreter.CompoundInterpreter :
getAllNewEmtpyExpressions to get all the available empty expressions proposals.
fr.obeo.dsl.common.tools.api.query.NotifierQuery : A new query aggregating all the queries (read-only!) having a org.eclipse.emf.common.notify.Notifier as starting point.
fr.obeo.dsl.common.tools.api.contentassist.ContentInstanceProposalProvider : Use
fr.obeo.dsl.common.ui.tools.api.contentassist.ContentInstanceProposalProvider instead
fr.obeo.dsl.common.tools.api.contentassist.ContentContext uses a
fr.obeo.dsl.common.tools.api.interpreter.IInterpreterContext to replace element, metaClass and attribute.
fr.obeo.dsl.common.tools.api.interpreter.CompoundInterpreter :
getVariablePrefix(final String expression) now takes the expression and not a
ContentContext, to be able to propose a variable prefix for an expression, the compound interpreter looks for a specific interpreter for the given expression an return the corresponding variable prefix.
fr.obeo.dsl.common.ui.tools.api.contentassist.ContentInstanceProposalProvider : Replace
fr.obeo.dsl.common.tools.api.contentassist.ContentInstanceProposalProvider
fr.obeo.dsl.common.ui.savedialogextension extension point, that allows to customize the session save dialogs, by defining new buttons and how to react to these buttons.
fr.obeo.dsl.common.ui.tools.api.query.FigureQuery : A new query aggregating all the queries (read-only!) having a org.eclipse.draw2d.IFigure as starting point.
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel : A copy of the class org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel to keep behavior of GMF 2.0.1 (version of Eclipse 3.3.2). This class is used in Viewpoint code instead of WrapLabel. See javadoc of this class for more explanation.
fr.obeo.dsl.common.ui.tools.api.animation
fr.obeo.dsl.common.ui.tools.api.util.GMFHelper
fr.obeo.dsl.common.ui.tools.api.graphical.command.GEFCommandWrapper
fr.obeo.dsl.common.ui.tools.api.graphical.dnd
fr.obeo.dsl.common.ui.tools.api.graphical.DDiagramRootEditPart
fr.obeo.dsl.common.ui.tools.api.graphical.DocumentSynchronizerHint
fr.obeo.dsl.common.ui.tools.api.graphical.figure.GeoShapeFigure
fr.obeo.dsl.common.ui.tools.api.graphical.figure.ParallelogramFigure
fr.obeo.dsl.common.ui.tools.api.graphical.figure.AbstractGeoShapePolygonFigure
fr.obeo.dsl.common.ui.tools.api.graphical.figure.ActionTriggerImageFigure
fr.obeo.dsl.common.ui.tools.api.graphical.figure.MouseAwareImageFigure
fr.obeo.dsl.common.ui.tools.api.graphical.DocumentSynchronizerHint
fr.obeo.dsl.common.ui.tools.api.outline.DiagramOutlinePage
fr.obeo.dsl.common.ui.tools.api.outline.DiagramOutlinePageListener
fr.obeo.dsl.common.ui.tools.api.outline.AbstractExtendedContentOutlinePage
fr.obeo.dsl.common.ui.tools.api.outline.IDiagramOutlinePage
fr.obeo.dsl.common.ui.tools.api.outline.DiagramOutlinePageListener
fr.obeo.dsl.common.ui.tools.api.outline
fr.obeo.dsl.common.ui.tools.api.graphical.command.IUndoableCommand use instead
fr.obeo.dsl.viewpoint.tools.api.command.IUndoableCommand
fr.obeo.dsl.common.ui.tools.api.graphical.command.GMFCommandWrapper use instead
fr.obeo.dsl.viewpoint.diagram.tools.api.command.GMFCommandWrapper
fr.obeo.dsl.common.ui.tools.api.graphical.command.DoNothingCommand use instead
fr.obeo.dsl.viewpoint.diagram.tools.api.command.DoNothingCommand
fr.obeo.dsl.common.ui.tools.api.graphical.figure.FigureTools
fr.obeo.dsl.common.ui.tools.api.graphical.figure.DConnectionLayerEx
fr.obeo.dsl.common.ui.editingDomainProvider extension point : use
fr.obeo.dsl.common.editingDomainFactory extension point (in fr.obeo.dsl.common plugin) instead, because it is not related to UI and we need a
TransactionalEditingDomain factory instead of a provider to affect to
Session.
fr.obeo.dsl.common.ui.business.api.constant.CommonUIPreferencesConstants.PREF_DEFENSIVE_EDIT_VALIDATION constant : use
fr.obeo.dsl.common.tools.api.constant.CommonPreferencesConstants from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.business.api.constant.CommonUIPreferencesConstants.PREF_TRACE_ON constant : use
fr.obeo.dsl.common.tools.api.constant.CommonPreferencesConstants from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.tools.api.editing.DefaultEditingDomainProvider class : use
fr.obeo.dsl.common.tools.api.editing.DefaultEditingDomainFactory from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.tools.api.editing.EditingDomainService class : use
fr.obeo.dsl.common.tools.api.editing.EditingDomainFactoryService from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.tools.api.editing.FileStatusPrecommitListener class : use
fr.obeo.dsl.common.tools.api.editing.FileStatusPrecommitListener from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.tools.api.editing.IEditingDomainProvider class : use
fr.obeo.dsl.common.tools.api.editing.IEditingDomainFactory from fr.obeo.dsl.common plugin instead.
fr.obeo.dsl.common.ui.ViewPointTransPlugin.PROFILER : Replaced by
fr.obeo.dsl.common.tools.DslCommonPlugin.PROFILER
The layout API in
fr.obeo.dsl.common.ui have been moved to
fr.obeo.dsl.viewpoint.diagram plug-in with some refactoring (For instance «Air» prefix removal)
The following packages have moved :
fr.obeo.dsl.common.ui.business.api.layout
fr.obeo.dsl.common.ui.tools.api.graphical
fr.obeo.dsl.common.ui.tools.api.graphical.layout
fr.obeo.dsl.common.ui.tools.api.graphical.figure
The extension point
fr.obeo.dsl.common.ui.airLayoutProvider has been renamed to
fr.obeo.dsl.viewpoint.diagram.layoutProvider.
fr.obeo.dsl.common.ui.tools.api.util.SWTUtil.showSaveDialog() : adding an
Object parameter, representing the Object to save
fr.obeo.dsl.viewpoint.sessionFactory extension point : added to contribute SessionFactory to be used instead of the default SessionFactoryImpl, only the first extension is used. Used for example to instantiate a collaborative session instead of the default one.
fr.obeo.dsl.viewpoint.business.api.session.factory.SessionFactoryDescriptor class : a descriptor of a
SessionFactory extension (the collaborative one to create a collaborative session for example).
fr.obeo.dsl.viewpoint.business.api.session.factory.SessionFactoryRegistry class : a registry of all
SessionFactory extensions.
fr.obeo.dsl.viewpoint.tools.api.command.semantic.AddSemanticResourceCommand class : EMF Command to call Session.addSemanticResource() operation.
fr.obeo.dsl.viewpoint.tools.api.command.semantic.RemoveSemanticResourceCommand : EMF Command to call session.removeSemanticResource() operation.
SessionFactory.createSession(URI sessionResourceURI) operation : added to create
Session from a URI of the session Resource (*.aird).
SessionFactory.createDefaultSession(URI sessionResourceURI) operation : added to create
Session from a URI of the session Resource (*.aird).
fr.obeo.dsl.viewpoint.business.api.query.GroupQuery.getViewpointFromName(String viewpointName) method : useful to find a Viewpoint from its name among
Viewpoint in
ViewpointRegistry.
fr.obeo.dsl.viewpoint.business.api.session.Session.open(IProgressMonitor) operation : added to replace
Session.open() to have session opening progression UI feedback.
fr.obeo.dsl.viewpoint.business.api.session.Session.Session.addSemanticResource(URI, boolean, IProgressMonitor) operation : added to replace
Session.addSemanticResource(Resource, ...).
Session.getTransactionalEditingDomain() operation : added to access the
TransactionalEditingDomain associated to the
Session.
Session.getModelAccessor() operation : added to access the
ModelAccessor associated to the
Session.
Session.getSessionResource() operation : added to get the main underlining Resource of the Session.
Session.getReferencedSessionResources() operation : added to get the underlining directly or indirectly referenced Resource (fragmented Resource) of the Session.
Session.save(IProgressMonitor) operation : added to have session saving progression UI feedback.
Session.save(IProgressMonitor) operation : added to have session closing progression UI feedback.
fr.obeo.dsl.viewpoint.business.api.session.SessionManager.getSession(URI) operation : added to get a Session from its session Resource URI.
fr.obeo.dsl.viewpoint.business.api.session.DefaultLocalSessionCreationOperation class : added to replace SessionHelper.createLocalSessionFromModels() method only for the session creation (not for ui part, neither for semantic resource adding), now to create a session with its ui part and with a semantic resource attached you can use the following code snippet :
URI sessionResourceURI = URI.createPlatformResourceURI("/Test/test.aird");
Session session = SessionManager.INSTANCE.getSession(URI);
IEditingSession uiSesssion = SessionUIManager.INSTANCE.getOrCreateUISession(session);
URI semanticResourceURI = URI.createPlatformResourceURI("/Test/test.ecore");
Command addSemanticResourceCmd = new AddSemanticResourceCommand(session,semanticResourceURI);
session.getTransactionalEditingDomain().getCommandStack().execute(addSemanticResourceCmd);
fr.obeo.dsl.viewpoint.business.api.query.EObjectQuery.getInverseReferences(...): new queries to find all the elements in the session which point to the queried object through some particular reference (identified by name, identity, or an arbitrary predicate).
fr.obeo.dsl.viewpoint.business.api.query.EObjectQuery.getFirstAncestorOfType(EClass): new query, mostly equivalent to Acceleo’s
<%eContainer("TypeName")%>.
fr.obeo.dsl.common.tools.api.profiler.TimeProfiler : Three new methods added to handle the new ViewpointTasksKey concept : startWork(String), stopWork(String), getCountTask(String).
fr.obeo.dsl.viewpoint.tools.api.ui.resource.VisualBindingManager : Moved to
fr.obeo.dsl.viewpoint.ui.tools.api.color.VisualBindingManager and replaced by
fr.obeo.dsl.viewpoint.tools.api.ui.color.EnvironmentSystemColorFactory for clamp and getSystemColorDescription methods.
fr.obeo.dsl.viewpoint.business.api.query.MappingBasedToolDescriptionQuery : A class aggregating all the queries (read-only!) having a MappingBasedToolDescription as a starting point
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterErrorListener : A listener that is notified of any detected Interpreter Error
fr.obeo.dsl.viewpoint.tools.api.interpreter.InterpreterErrorNotifier : Notifies all registered listener of a detected Interpreter error
fr.obeo.dsl.viewpoint.tools.api.interpreter.context.ViewpointInterpreterContextFactory : Provides facilities for creating IInterpreterContexts, using the Viewpoint metamodel to get useful informations
fr.obeo.dsl.viewpoint.business.api.dialect.description.IInterpretedExpressionQuery : a query that calculate informations needed to construct an IInterpreterContext
fr.obeo.dsl.viewpoint.business.api.dialect.description.AbstractInterpretedExpressionQuery : abstract class providing facilites for creating IInterpretedExpressionQuery, usign IInterpretedExpressionTargetSwitches.
fr.obeo.dsl.viewpoint.business.api.dialect.description.IInterpretedExpressionTargetSwitch : a switch used by the AbstractInterpretedExpressionQuery
fr.obeo.dsl.viewpoint.business.api.dialect.description.DefaultInterpretedExpressionQuery : default implementation of IInterpretedExpressionQuery
fr.obeo.dsl.viewpoint.business.api.dialect.description.DefaultInterpretedExpressionTargetSwitch : default implementation of IInterpretedExpressiontargetSwitch
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices :
boolean handles(RepresentationDescription representationDescription) method, indicating if the current dialect handles the given RepresentationDescription
InterpretedExpressionQuery createInterpretedExpressionQuery(EObject target, EStructuralFeature feature) method, allowing to create a Query that will determine all informations needed to build an IInterpreterContext
fr.obeo.dsl.viewpoint.business.api.diagramtype.IDiagramDescriptionProvider :
createInterpretedExpressionSwitch method, allowing to contribute an IInterpretedExpressionTargetSwitch that will handle domain-class resolving for a given type of representations
handles(EPackage) method, allowing to indicate for which EPackage the IInterpretedExpressionTargetSwitch will be contributed
fr.obeo.dsl.viewpoint.business.api.dialect.description
fr.obeo.dsl.viewpoint.business.api.query.ViewpointQuery.getViewpointURI(): new method to obtain the canonical, logical URI of a Viewpoint.
fr.obeo.dsl.viewpoint.business.api.query.ViewpointQuery.hasSameViewpointURI(): new method to test if two different Viewpoints have the same logical URI.
fr.obeo.dsl.viewpoint.business.api.query.DiagramDescriptionQuery.getAllPasteTools(): a new query to get all paste tools targeting the current diagram description (or its import hierarchy).
fr.obeo.dsl.viewpoint.business.api.query.DiagramElementMapping.getAllPasteTools(): a new query to get all paste tools targeting the current mapping (or its import hierarchy).
fr.obeo.dsl.viewpoint.tools.api.command.ICommandFactory
buildPasteCommandFromTool(DSemanticDecorator dContainer, DSemanticDecorator element, PasteDescription tool): create a command able to paste the copied semantic target of element in the semantic target of dContainer.
buildPasteCommandFromTool(final DSemanticDecorator dContainer, final EObject copiedElement, PasteDescription tool): create a command able to paste the copied element in the semantic target of dContainer.
allowsLayoutingModeActivation() in the
IDiagramDescriptionProvider, allowing each DiagramDescription type (e.g. sequence diagrams) to forbid/allow layouting mode activation
fr.obeo.dsl.viewpoint.business.api.dialect.command.CopyRepresentationCommand : to copy representations in a session, but can’t copy representation between differents session.
fr.obeo.dsl.viewpoint.business.api.dialect.command.DeleteRepresentationCommand : to delete some DRepresentation owned by a Session.
fr.obeo.dsl.viewpoint.business.api.dialect.command.RenameRepresentationCommand : to rename a DRepresentation owned by a Session.
fr.obeo.dsl.viewpoint.business.api.dialect.command.MoveRepresentationCommand : to move a DRepresentation owned by a Session to a fragmented session resource owned by the same session of the DRepresentation to move.
fr.obeo.dsl.viewpoint.business.api.migration.resource.MigrationParticipant : use to provided a migration participant of session resource (.aird) or modeler resource (.odesign)
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceMigrationParticipant : a specific MigrationParticipant for modeler migration
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceTagBasedMigrationParticipant : a specific ModelerResourceMigrationParticipant to migrate modeler resource once, after the migration the modeler resource has is marked by the tag provided by the ModelerResourceTagBasedMigrationParticipant
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFilesAutomaticMigrationParticipant : used for automatic session resource migration at session opening.
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFilesMigrationParticipant : used for manual session resource migration.
fr.obeo.dsl.viewpoint.business.api.query.InMemoryURIQuery : Queries about InMemory URIs used for transient session.
fr.obeo.dsl.viewpoint.business.api.query.DDiagramElementQuery : 3 new queries about the fold state (isExplicitlyFolded, isIndirectlyFolded, isFolded)
fr.obeo.dsl.viewpoint.tools.api.command.listener.ChangeListenerFactory : A factory that create new IChangeListener which record Created, Updated and Deleted elements and which is able to launch a trigger operation with these elements as parameters.
fr.obeo.dsl.viewpoint.tools.api.command.listener.IChangeListener : The interface for the change listener.
fr.obeo.dsl.viewpoint.tools.api.command.listener.TriggerOperation : Interface to implement if you want to provide a trigger based on semantic modifications in
IChangeListener.
fr.obeo.dsl.viewpoint.business.api.session.factory.SessionFactory.createSession(DAnalysis) deprecated operation : because
DAnalysis creation is encapsulated in
SessionFactory now, use
SessionFactory.createSession(URI sessionResourceURI) instead.
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices.ensureDescriptionResourceInMainResourceSet method : removed because not usefull now.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper.createDAnalysis() method : deprecated because Session’s underlining Resource root model’s element creation must be encapsulated in SessionFactory.createSession(URI).
fr.obeo.dsl.viewpoint.business.api.helper.ViewpointUtil.getModelAccessor() method : removed because it use the
fr.obeo.dsl.common.ui.editingDomainProvider extension point and we must have one ModelAccessor per ResourceSet then one per Session, instead use
Session.getModelAccessor() or
ModelAccessorsRegistry.getModelAccessor(...).
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession.getAnalysisResources() operation : deprecated because we need to differenciate between the main DAnalysis & the referenced ones. Then use
Session.getSessionResource() to have the main DAnalysis and
Session.getReferencedSessionResources() to have the referenced one.
fr.obeo.dsl.viewpoint.business.api.session.SessionHelper.createLocalSessionFromModels() method : removed use
SessionManager.getSession(URI) instead to create the session (to use URI instead of Resource), use
SessionUIManager.getOrCreateUISession(Session) to initialize the ui part, and use
AddSemanticResourceCommand EMF command to attach semantic resource to the created session, now to create a session with its ui part and with a semantic resource attached you can use the following code snippet :
URI sessionResourceURI = URI.createPlatformResourceURI("/Test/test.aird");
Session session = SessionManager.INSTANCE.getSession(URI)
IEditingSession uiSesssion = SessionUIManager.INSTANCE.getOrCreateUISession(session);
URI semanticResourceURI = URI.createPlatformResourceURI("/Test/test.ecore");
Command addSemanticResourceCmd = new AddSemanticResourceCommand(session,semanticResourceURI);
session.getTransactionalEditingDomain().getCommandStack().execute(addSemanticResourceCmd);
fr.obeo.dsl.viewpoint.business.api.session.SessionHelper.getLocalSessionCreationOperation() operation : removed to avoid use Resource but URI instead use directly DefaultLocalSessionCreationOperation class.
fr.obeo.dsl.viewpoint.business.api.session.SessionManager.addResource(Session, Resource) operation : deprecated, use @Session.addSemanticResource(URI, boolean, IProgressMonitor) instead.
fr.obeo.dsl.viewpoint.tools.api.command.AbstractCommandFactory(TransactionalEditingDomain, ModelAccessor) constructor : use AbstractCommandFactory(TransactionalEditingDomain) constructor instead because a
ModelAccesor is associated to a
TransactionalEditionDomain.
fr.obeo.dsl.viewpoint.tools.api.command.IDiagramCommandFactoryProvider.getCommandFactory() operation : deprecated since need a
TransactionalEditionDomain is needed, use
IDiagramCommandFactoryProvider.getCommandFactory(TransactionalEditionDomain) instead.
fr.obeo.dsl.viewpoint.business.api.helper.task.TaskHelper.buildTaskFromModelOperation(EObject,ModelOperation) operation : removed since deprecated from previous version, use
TaskHelper.buildTaskFromModelOperation(DRepresentation,EObject,ModelOperation) instead to have a DRepresentation in context of the ModelOperation interpretation.
fr.obeo.dsl.viewpoint.business.api.action.OpenHelpSectionAction: This API is moved to
fr.obeo.dsl.viewpoint.ui. You must replace the id
fr.obeo.dsl.viewpoint.business.api.action.openHelpSection with
fr.obeo.dsl.viewpoint.ui.business.api.action.openHelpSection.
fr.obeo.dsl.viewpoint.tools.api.ui.resource.VisualBindingManager.prepareColors(FormText) operation : removed to avoid dependency to UI plugin.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectServices.getHierarchyLabelProvider(ILabelProvider) operation : Replaced by the
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.getHierarchyLabelProvider(ILabelProvider) to avoid dependency to UI plugins.
fr.obeo.dsl.viewpoint.table.business.api.helper.TableHelper : Some operations have been moved to
fr.obeo.dsl.viewpoint.table.ui.business.api.helper.TableUIHelper to avoid dependency to UI plugins.
fr.obeo.dsl.viewpoint.tools.api.profiler.ViewPointTasks : Splits in two parts
fr.obeo.dsl.viewpoint.ui.tools.api.profiler.ViewpointTasks and
fr.obeo.dsl.viewpoint.tools.api.profiler.ViewpointTasksKey
fr.obeo.dsl.viewpoint.ViewpointPlugin.getDefault().getBundledImage() operation : Removed. Use
fr.obeo.dsl.viewpoint.provider.ViewpointEditPlugin.getPlugin().getBundledImage instead
fr.obeo.dsl.viewpoint.business.api.migration.MigrationParticipant removed : use
fr.obeo.dsl.viewpoint.business.api.migration.resource.MigrationParticipant instead
fr.obeo.dsl.viewpoint.ui.business.api.migration.ModelerDescriptionFilesMigrationParticipant removed : use instead
fr.obeo.dsl.viewpoint.business.api.migration.resource.modeler.ModelerResourceMigrationParticipant
fr.obeo.dsl.viewpoint.ui.business.api.migration.RepresentationsFilesMigrationParticipant removed : use
fr.obeo.dsl.viewpoint.business.api.migration.resource.session.RepresentationsFilesMigrationParticipant instead
fr.obeo.dsl.viewpoint.business.api.session.SessionListener : addition of 3 notifications kind about representation edition status for : granted, denied and granted for the current user only.
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointUtil.DIAGRAM_MODEL_EXTENSION renamed to
SESSION_RESOURCE_EXTENSION because a session resource is not specific to diagram dialect.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionEditorInput.getSession(URI) method : to replace
SessionEditorInput.getSession(TransactionalEditingDomain, IMemento, URI) deprecated method.
fr.obeo.dsl.viewpoint.ui.tools.api.views.sessionview.item.ItemWrapper.getSession method : added to get Session from a Model Content view tree item.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionEditorInput.DEFAULT_EDITOR_NAME constant : renamed constant of previous
SessionEditorInput.DEFAULT_DIAGRAM_EDITOR_NAME constant because this
EditorInput is not specific to diagram dialect.
fr.obeo.dsl.viewpoint.ui.business.api.action.OpenHelpSectionAction: a standard External Java Action (with id
fr.obeo.dsl.viewpoint.ui.business.api.action.openHelpSection) to open the Eclipse Help system in a section specified as a parameter. It replaces the previous externalJavaAction previously available with id
fr.obeo.dsl.viewpoint.business.api.action.openHelpSection.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.getHierarchyLabelProvider(ILabelProvider) operation : Replace the
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices.getHierarchyLabelProvider(ILabelProvider) to avoid dependy to UI plugins.
fr.obeo.dsl.viewpoint.ui.tools.api.color.VisualBindingManager: Replace the previous
fr.obeo.dsl.viewpoint.tools.api.ui.resource.VisualBindingManager.
fr.obeo.dsl.viewpoint.ui.tools.api.assist.IAssistContentProvider.initContext(EObject, EStructuralFeature) to init the context with an element and one of its feature.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditorDialogFactory : adding the
void informUserOfEvent(int severity, String message) method, allowing to log any message inside the current editor.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor : adding the
DialectEditorDialogFactory getDialogFactory() method, allowing to get theDialectEditorDialogFactory associated to any Dialect Editor.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionEditorInput.getSession(TransactionalEditingDomain, IMemento, URI) method : removed because a Session’s TransactionalEditingDomain must be created by the
SessionFactory through the
EditingDomainFactory extension point, use
SessionEditorInput.getSession(URI) instead.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionEditorInput.DEFAULT_DIAGRAM_EDITOR_NAME constant : removed, use
SessionEditorInput.DEFAULT_EDITOR_NAME instead.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionSpecificEditorInput.getSession(TransactionalEditingDomain, IMemento, URI) removed : same reason as for
SessionEditorInput.
fr.obeo.dsl.viewpoint.ui.business.api.editor.SpecificEditorInputTranformer.createSpecificEditingDomain() method : removed because a
TransactionalEditingDomain is created for each
Session through the
EditingDomainFactory extension point, use
Session.getTransactionalEditingDomain() instead.
fr.obeo.dsl.viewpoint.ui.business.api.editor.SpecificEditorInputTranformer.domain attribute : removed for same reason as previous.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionHelper.createLocalSession() method : removed because not session resource URI specified to create a Session, use
SessionFactory.createSession(URI) instead.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionHelper.createLocalSessionFromModels() method : removed because Session’s Resources must be loaded by Session’s operations, use
SessionFactory.createSession(URI) and
AddSemanticResourceCommand instead, now to create a session with its ui part and with a semantic resource attached you can use the following code snippet :
URI sessionResourceURI = URI.createPlatformResourceURI("/Test/test.aird");
Session session = SessionManager.INSTANCE.getSession(URI)
IEditingSession uiSesssion = SessionUIManager.INSTANCE.getOrCreateUISession(session);
URI semanticResourceURI = URI.createPlatformResourceURI("/Test/test.ecore");
Command addSemanticResourceCmd = new AddSemanticResourceCommand(session,semanticResourceURI);
session.getTransactionalEditingDomain().getCommandStack().execute(addSemanticResourceCmd);
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper.openOrCreateSession() removed : use
SessionManager.INSTANCE.getSession(URI) and
SessionUIManager.INSTANCE.getOrCreateUISession(Session) for the UI part, instead.
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper.openOrCreateSessions() removed : use
SessionManager.INSTANCE.getSession(URI) and
SessionUIManager.INSTANCE.getOrCreateUISession(Session) for the UI part, instead.
fr.obeo.dsl.viewpoint.ui.tools.api.clipboard: old clipboard support was removed
ProxyClipboardSupport
ClipboardSupportFactoryItemProvider: the extension point viewpoint.tool.clipboardSupport was removed too.
ViewpointDefaultClipboardSupport
DeactivatedClipboardSupport
viewpoint.tool.clipboardSupport has been removed.
fr.obeo.dsl.viewpoint.ui.tools.api.assist.TextChangeListener extends
org.eclipse.swt.widgets.Listener.Listener
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.properties.filter.AbstractPropertyFilter.getModelAccessor() : removed since a
ModelAccessor is associated per
TransactionalEditingDomain, then use
Session.getModelAccessor() instead.
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.layout
fr.obeo.dsl.viewpoint.diagram.graphical.edit.layout.api
fr.obeo.dsl.viewpoint.diagram.business.api.layout
fr.obeo.dsl.viewpoint.diagram.figure
fr.obeo.dsl.viewpoint.diagram.ui.contribution use
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.action instead
fr.obeo.dsl.viewpoint.diagram.ui.contribution.internal.commands
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.BorderItemAwareLayoutProviderHelper use directly
BorderItemAwareLayoutProvider instead
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.ILayoutConstraints use
PinHelper.isPinned() instead
fr.obeo.dsl.viewpoint.diagram.edit.api.part.DesignerEditPartHelper.haveClipboardSupport: old clipboard support was removed. Utility method to test its enablement is no longer consistent.
fr.obeo.dsl.viewpoint.diagram.tools.ViewpointGMFDiagramFactory removed : use the following snippet code instead to create a new GMF diagram and synchronize it according to the viewpoint notation model :
DSemanticDiagram dSemanticDiagram = ...;
IAdaptable adapter = new EObjectAdapter(dSemanticDiagram);
Diagram gmfDiagram ViewService.getInstance().createDiagram(adapter, DDiagramEditPart.MODEL_ID, ViewpointDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);
DDiagramCanonicalSynchronizer dDiagramCanonicalSynchronizer = new DDiagramCanonicalSynchronizer(gmfDiagram);
dDiagramCanonicalSynchronizer.synchronize();
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.ordering
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.provider
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.action
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.PinHelper used to replace removed
ILayoutConstraints to know pinned status of
DDiagramElement and also to change it
fr.obeo.dsl.viewpoint.diagram.business.api.view.ViewpointGMFHelper.getViewId(View) added method to get a unique id of a View (return the uri fragment of the View EObject), to use instead of
org.eclipse.gmf.runtime.diagram.core.util.ViewUtil.getIdStr(View) which try to cast the View.eResource into a XMLResource while in Viewpoint we can have other Resource than XMLResource (CDOResource, ...).
fr.obeo.dsl.viewpoint.diagram.business.api.view.refresh.CanonicalSynchronizer interface : interface for gmf diagram synchronizer to synchronize a gmf
Diagram according to its
DSemanticDiagram, used through
CanonicalSynchronizerFactory
fr.obeo.dsl.viewpoint.diagram.business.api.view.refresh.CanonicalSynchronizerFactory interface : use to get instance of
CanonicalSynchronizer through
CanonicalSynchronizerFactory.INSTANCE.createCanonicalSynchronizer(Diagram)
fr.obeo.dsl.viewpoint.ui.tools.api.permission.DRepresentationPermissionStatusListener : A permission status listener to notify the editor about permission authority in order to update its title image.
fr.obeo.dsl.viewpoint.ui.tools.api.permission.DRepresentationPermissionStatusQuery : A query on permission status of DRepresentation.
fr.obeo.dsl.viewpoint.diagram.tools.api.preferences.ViewpointDiagramPreferencesKeys now provides a new preference,
PREF_DIAGRAM_SHOULD_DISPLAY_MESSAGES_USING_POP_UPS, indicating whether editor should display messages using pop-ups, or notification figures.
fr.obeo.dsl.viewpoint.diagram.business.api.view.ViewPointLayoutDataManager has two new method to store newly created views (by the CanonicalSynchronizer) to be layouted :
ViewPointLayoutDataManager.addCreatedViewsToLayout(Diagram gmfDiagram, Set<View> createdViewsToLayout) : to store the last newly created GMF views to be layouted
ViewPointLayoutDataManager.getCreatedViewsToLayout() : to get the last newly created GMF views to be layouted
fr.obeo.dsl.viewpoint.diagram.business.api.view.ViewPointLayoutDataManager.setIgnoreConsumeState : Change the mode of the consumption. The data can be consume even if there is already consume. This can be useful, for example, in case of several preCommitListener that want to access the data. This change must be temporary and must be restored to default value (false).
fr.obeo.dsl.viewpoint.diagram.edit.api.part.IDiagramBorderNodeEditPart.getNodeLabel() : This method return now a ViewpointWrapLabel (see comment about
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel in this file).
fr.obeo.dsl.viewpoint.diagram.edit.api.part.IDiagramNodeEditPart.getNodeLabel() : This method return now a ViewpointWrapLabel (see comment about
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel in this file).
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.styles.StyleConfiguration : The methods now use the ViewpointWrapLabel instead of WrapLabel (see comment about
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel in this file). Idem for class that implements it (SimpleStyleConfiguration and SafeStyleConfiguration).
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.ViewNodeContainerFigureDesc.getContainerLabelFigure() : This method return now a ViewpointWrapLabel (see comment about
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel in this file). Idem for class that implements it (ViewNodeContainerParallelogram, ViewNodeContainerRectangleFigureDesc, ViewNodeContainerRoundedRectangleFigureDesc).
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.figure.ViewNodeListFigureDesc.getContainerLabelFigure() : This method return now a ViewpointWrapLabel (see comment about
fr.obeo.dsl.common.ui.tools.api.draw2d.ui.figures.ViewpointWrapLabel in this file). Idem for class that implements it ( ViewNodeListRectangleFigureDesc, ViewNodeListRoundedRectangleFigureDesc).
fr.obeo.dsl.viewpoint.table.tools.api.command.ITableCommandFactoryProvider.getCommandFactory() : now having a
TransactionalEditingEditingDomain per Session we need to have also a TransactionalEditingEditingDomain per
ITableCommandFactoryProvider then use
ITableCommandFactoryProvider.getCommandFactory(TransactionalEditingDomain) instead.
fr.obeo.dsl.viewpoint.table.tools.api.command.ITableCommandFactoryProvider.getCommandFactory(ModelAccessor, TransactionalEditingDomain) : a ModelAccessor can be getted by
ModelAccessorsRegistry.getModelAccessor(ResourceSet) or
Session.getModelAccessor() then use
ITableCommandFactoryProvider.getCommandFactory(TransactionalEditingDomain) instead.
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.ordering
fr.obeo.dsl.viewpoint.diagram.ui.tools.api.layout.provider
fr.obeo.dsl.viewpoint.business.api.query.DDiagramElementQuery.getLabelStyle : return an option of BasicLabelStyle instead of a LabelStyle.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasNonEmptyBeginNameDefinition : test if the label has a non empty name.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasNonEmptyEndNameDefinition : test if the label has a non empty name.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasBeginName : test if the edge has a begin label.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasEndName : test if the edge has a end label.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasCenterName : test if the edge has a center label.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.getCenterLabelStyle : test if the edge has a center style.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.getBeginLabelStyle : test if the edge has a begin style.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.getEndLabelStyle : test if the edge has a end style.
fr.obeo.dsl.viewpoint.business.api.query.DEdgeQuery.hasName : test if the edge has at least one label.
fr.obeo.dsl.viewpoint.business.api.dialect.command.RefreshRepresentationsCommand : A command that launch a refresh for all kind of representations and launch a compute visibility for the DDiagram.
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession.addReferencedAnalysis(DAnalysis, Collection<DAnalysis>): call to reference the given analysis from several sources.
fr.obeo.dsl.viewpoint.business.api.session.resource.AirdResource: A public interface for the resource corresponding to the aird files.
fr.obeo.dsl.viewpoint.business.api.session.Session.getRefreshEditorsListener(): Return the precommit listener suitable for refresh all opened Viewpoint editors.
fr.obeo.dsl.viewpoint.tools.api.command.ui.RefreshFilter.getOpenedRepresantationsToRefresh(): Get all DRepresentation opened in an editor and that should be refreshed.
fr.obeo.dsl.viewpoint.tools.api.ui.RefreshEditorsPrecommitListener: A precommit listener to refresh all Viewpoint opened editors.
fr.obeo.dsl.viewpoint.business.api.dialect.command.RefreshRepresentationCommand : Replaced by
fr.obeo.dsl.viewpoint.business.api.dialect.command.RefreshRepresentationsCommand
fr.obeo.dsl.viewpoint.tools.api.ui.resource.VisualBindingManager.getFontFromLabelStyle(final BasicLabelStyle style) : take a BasicLabelStyle instead of a LabelStyle in parameter.
fr.obeo.dsl.viewpoint.tools.api.ui.resource.VisualBindingManager.getFontFromLabelStyle(final BasicLabelStyle style, final String fontName) : take a BasicLabelStyle instead of a LabelStyle in parameter.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditorManager.firePropertyChanged(final Object source, final Object value, int propId) : This method was previously used to notify each editor to make a refresh. The refresh is now called with a resource precommitListener (to avoid multiple Undo : VP-815).
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor.propertyChanged(final Object source, final Object value, int propId) : This method was previously used by the above method to notify each editor to make a refresh. The refresh is now called with a resource precommitListener (to avoid multiple Undo : VP-815).
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor.needsRefresh(final Object value, int propId) : This method should return true if this editor must be refresh, false otherwise.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectEditor : The DialectEditor now implements the IGotoMarker. So if you have compilation problems in your plugin about org.eclipse.ui.ide.IGotoMarker you must add org.eclipse.ui.ide in the «Automated Management of Dependencies» of the Dependencies folder of the MANIFEST.MF of your plugin.
fr.obeo.dsl.viewpoint.diagram.graphical.edit.policies.ResizableShapeLabelEditPolicy : new resizable label edit policy to consider the location of the labels (Begin, Center and End).
fr.obeo.dsl.viewpoint.diagram.edit.api.part.AbstractDiagramEdgeEditPart.getFigureViewBeginEdgeNameFigure : return the begin label figure.
fr.obeo.dsl.viewpoint.diagram.edit.api.part.AbstractDiagramEdgeEditPart.getFigureViewEndEdgeNameFigure : return the end label figure.
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.styles.SimpleStyleConfiguration.getLabelIcon(final DDiagramElement vpElement, IGraphicalEditPart editPart) : the edit part is added as a parameter to know the type of the label.
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.styles.SimpleStyleConfiguration.getLabelIcon(final DDiagramElement vpElement, IGraphicalEditPart editPart) : inherits from SimpleStyleConfiguration
fr.obeo.dsl.viewpoint.diagram.tools.api.graphical.edit.styles.SafeStyleConfiguration.getLabelIcon(final DDiagramElement vpElement, IGraphicalEditPart editPart) : inherits from SimpleStyleConfiguration
fr.obeo.dsl.viewpoint.diagram.graphical.edit.policies.AbstractEdgeSelectionFeedbackEditPolicy.getEdgeNameEditPart : it returns now a list of AbstractDEdgeNameEditPart instead of an AbstractDEdgeNameEditPart to consider the three types of labels.
fr.obeo.dsl.viewpoint.diagram.graphical.edit.policies.DEdgeNameSelectionFeedbackEditPolicy.getEdgeNameEditPart : it inherits from AbstractEdgeSelectionFeedbackEditPolicy so it has to return a list of AbstractDEdgeNameEditPart.
fr.obeo.dsl.viewpoint.diagram.graphical.edit.policies.DEdgeSelectionFeedbackEditPolicy.getEdgeNameEditPart : it inherits from AbstractEdgeSelectionFeedbackEditPolicy so it has to return a list of AbstractDEdgeNameEditPart.
fr.obeo.dsl.common.tools.api.query.NotificationQuery, with currently only one method to check whether the model change corresponding to an EMF
Notification concerns a transient part of the model, and thus will not impact the corresponding resource.
fr.obeo.dsl.common.tools.api.util.FileUtil: new utility class.
fr.obeo.dsl.common.tools.api.listener.Notification: new kind of notification
VISIBILITY_UPDATE.
fr.obeo.dsl.common.ui.tools.api.outline.DiagramOutlinePage: the class is deprecated.
fr.obeo.dsl.common.ui.tools.api.graphical.command.AbstractUndoableRecordingCommand: removed.
fr.obeo.dsl.common.ui.tools.api.graphical.command.AbstractParentCommand: removed.
fr.obeo.dsl.viewpoint.business.api.session.SessionManager.notifyRepresentationRenamed(Session): called to notify that a representation has been renamed in the session.
fr.obeo.dsl.viewpoint.business.api.helper.display.DisplayService.computeLabelVisibility: Check if the label of this element has to be displayed in the diagram (only available for label on border).
fr.obeo.dsl.viewpoint.business.api.action.OpenHelpSectionAction: a standard External Java Action (with id
fr.obeo.dsl.viewpoint.business.api.action.openHelpSection) to open the Eclipse Help system in a section specified as a parameter.
fr.obeo.dsl.viewpoint.tools.api.command.ui.UICallBack: new methods to allow for better customization of the user interaction on some operations. If you have your own implementation of
UICallback which does not inherit from
fr.obeo.dsl.viewpoint.ui.tools.api.command.AbstractSWTCallback, you will need to add implementations for these methods:
shouldReload(Resource): called to ask if an externally changed resource should be reloaded.
shouldRemove(Resource): called to ask if an externally deleted resource should be removed from the current session.
shouldClose(Session, Resource): called to ask if the given session should be closed after a conflicting deletion of the given resource.
notifyUserForMigration(): called to notify the user that an automatic aird resource migration has be done.
askForDetailName(String, String): Called when the user interface should prompt for a name.
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices.getMigrationParticipant(): new method to get all kind of
MigrationParticipant from a dialect.
fr.obeo.dsl.viewpoint.business.api.migration.RepresentationsFilesAutomaticMigrationParticipant: new migration participant type to handle automatic migration of representation files.
fr.obeo.dsl.viewpoint.business.api.query.AbstractDNodeQuery.isBorderedNode(): new method to know if an
AbstractDNode is a bordered node.
fr.obeo.dsl.viewpoint.business.api.query.DNodeQuery.hasLabelOnBorder(): This method replaces the old one
isBorderedNode() which was very badly named.
fr.obeo.dsl.viewpoint.business.api.query.CompositeFilterDescriptionQuery.getHiddenMappings(): Get all the mappings concerned by a filter of king Hide in this composite filter.
ViewPointHelper.createDAnalysis() should be used to create
DAnalysis instead of
ViewpointFactory.eINSTANCE.createDAnalysis().
fr.obeo.dsl.viewpoint.business.api.helper.graphicalfilters.HideFilterHelper: new methods
hideLabel(DDiagramElement) and
revealLabelDDiagramEditor(DDiagramElement)
fr.obeo.dsl.viewpoint.business.api.query.DDiagramElementQuery: new methods
isLabelHidden()
canHideLabel()
isCollapsed()
isIndirectlyHidden()
isIndirectlyCollapsed()
isIndirectlyFiltered()
isFiltered()
fr.obeo.dsl.viewpoint.business.api.session.Session.getEditingDomain(): Return the editing domain linked to this session.
fr.obeo.dsl.viewpoint.business.api.session.danalysis.DAnalysisSession: new methods
addAdaptersOnAnalysis(DAnalysis) and
removeAdaptersOnAnalysis(DAnalysis).
fr.obeo.dsl.viewpoint.business.api.helper.task.RemoveDanglingReferencesTask: new method
getRoot()
fr.obeo.dsl.viewpoint.business.api.helper.filter.FilterService: new method
getAppliedFilters(DDiagram, DDiagramElement)
fr.obeo.dsl.viewpoint.business.api.helper.graphicalfilters.CompositeFilterApplicationBuilder: new method
computeCompositeFilterApplications()
ViewpointFactory.eINSTANCE.createDAnalysis() should not be used to create a
DAnalysis; use
ViewPointHelper.createDAnalysis() instead.
fr.obeo.dsl.viewpoint.business.api.dialect.DialectServices.getMigrations(): use the new method
getMigrationParticipants instead,
MigrationCopier implements
MigrationParticipant
fr.obeo.dsl.viewpoint.business.api.query.DNodeQuery.isBorderedNode(): this method has been replaced by
hasLabelOnBorder()
fr.obeo.dsl.viewpoint.business.api.componentization.ViewpointRegistry: the method
disposeFromPlugin(Component) is deprecated. Use
ViewpointRegistry.disposeFromPlugin(Viewpoint) instead.
fr.obeo.dsl.viewpoint.business.api.helper.graphicalfilters.HideFilterHelper: the following methods have been removed:
isDirectlyHidden(DDiagramElement)
isIndirectlyHidden(DDiagramElement)
fr.obeo.dsl.viewpoint.business.api.helper.filter.FilterService: the following methods have been removed:
isFiltered(final DDiagram diagram, final DDiagramElement element)
isVisibleForActivatedFilters(DDiagram, DDiagramElement)
checkFilters(DDiagram , DDiagramElement)
fr.obeo.dsl.viewpoint.business.api.helper.ViewPointHelper:
fr.obeo.dsl.viewpoint.business.api.query instead.
getAllSections(EList<Layers>) has been removed
fr.obeo.dsl.viewpoint.business.api.Session.open() and
fr.obeo.dsl.viewpoint.business.api.Session.close() now have the responsibility to respectively add and remove the session in the SessionManager. The methods
fr.obeo.dsl.viewpoint.business.api.SessionManager.add(Session) and
fr.obeo.dsl.viewpoint.business.api.SessionManager.remove(Session) must not be called by client.
fr.obeo.dsl.viewpoint.business.api.diagramtype.IDiagramDescriptionProvider.collectToolCommands(EObject context): added the
context parameter, so that the implementation can provide all and only the
CommandParameters appropriate to the context element (e.g. a
ToolSection or a
ToolGroup).
fr.obeo.dsl.viewpoint.business.api.query.DMappingBasedQuery.isFromAnyMapping(Collection<? extends DiagramElementMapping> mappings): Replace type of mappings parameter to be more generic.
fr.obeo.dsl.viewpoint.business.api.dialect.AbstractRepresentationDialectServices base class:
isSupported(DRepresentation representation) and
isSupported(DRepresentation representation) used by the default implementations
ViewpointCommand no longer take a
ModelAccessor as argument.
fr.obeo.dsl.viewpoint.ui.business.api.session.SessionSpecificEditorInput: Specific editor input for specific editor providing model path, viewpoint URI and representation description name.
fr.obeo.dsl.viewpoint.ui.tools.api.command.AbstractSWTCallback: default implementation of
UICallback, which can be inherited from if you only need to customize some of the methods.
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper.setReloadingWithUIPolicy(DAnalysisSession): called to change the
ReloadingPolicy of the given
DAnalysis to a default reloading policy with open a simple Yes/No question dialog (called from the new API methods in
UICallBack for example).
fr.obeo.dsl.viewpoint.ui.business.api.session.analysis.DAnalysisSessionUIHelper: new method
setReloadingWithUIPolicy(DAnalysisSession) to set the reloading policy with UI on the given analysis session.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.canExport(ExportFormat): Check that this dialect is able to export in the given export format.
ViewpointUncontrolHandler.shouldUncontrolRepresentations(Shell shell) which can be customized by sub-classes to decide whether or not to uncontrol the representations in addition to the semantic model.
fr.obeo.dsl.viewpoint.ui.tools.api.dialog.AbstractExportRepresentationsAsImagesDialog: Abstract class for two export diagram as image. Export one representation and several representations.
fr.obeo.dsl.viewpoint.ui.tools.api.dialog.ExportOneRepresentationAsImageDialog: Class ui for export one representation as image.
fr.obeo.dsl.viewpoint.ui.tools.api.dialog.ExportSeveralRepresentationsAsImagesDialog: Class ui for export several representations as images.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.provideMigrationParticipants(): removed.
fr.obeo.dsl.viewpoint.ui.tools.api.dialog.ExportRepresentationsAsImagesDialog: deprecated.
fr.obeo.dsl.viewpoint.ui.business.api.dialect.DialectUIServices.export(): The
format argument is now of type
ExportFormat instead of a plain
String.
ViewpointControlHandler.createControlResourceDialog(final Shell shell, final String defaultURI)
fr.obeo.dsl.viewpoint.diagram.tools.api.editor.DDiagramEditor:
setEmfCommandFactoryProvider(IDiagramCommandFactoryProvider provider) and
DDiagramEditor#getEmfCommandFactoryProvider().
fr.obeo.dsl.viewpoint.diagram.figure.ITransparentFigure added.
fr.obeo.dsl.viewpoint.diagram.figure.AbstractTransparentEllipse
fr.obeo.dsl.viewpoint.diagram.figure.AbstractTransparentImage
fr.obeo.dsl.viewpoint.diagram.figure.AbstractTransparentNode
fr.obeo.dsl.viewpoint.diagram.figure.AbstractTransparentRectangle
StyledFigure now also implement
ITransparentFigure:
fr.obeo.dsl.viewpoint.diagram.figure.AirNoteFigure
fr.obeo.dsl.viewpoint.diagram.figure.BundledImageFigure
fr.obeo.dsl.viewpoint.diagram.figure.GaugeCompositeFigure
fr.obeo.dsl.viewpoint.diagram.figure.GaugeSectionFigure
fr.obeo.dsl.viewpoint.diagram.figure.LozengeFigure
fr.obeo.dsl.viewpoint.diagram.figure.ODesignEllipseNode
fr.obeo.dsl.viewpoint.diagram.figure.WorkspaceImageFigure
IDiagramEditPart.startListening() and
IDiagramEditPart.stopListening() and the corresponding code.