diff --git a/sirius/doc/Release_Notes.html b/sirius/doc/Release_Notes.html index 8b0aa73..1b949f1 100644 --- a/sirius/doc/Release_Notes.html +++ b/sirius/doc/Release_Notes.html @@ -7,13 +7,13 @@
-This document contains the release notes for recent major releases of Sirius. See also the release notes from previous versions for details about older releases.
-Paste Format
,
+ Paste Style
and
+ Paste Layout
) are now called semantic paste (i.e.
+ Paste Format (Semantic)
,
+ Paste Style (Semantic)
and
+ Paste Layout (Semantic)
), but their behavior remains unchanged.
+ Apply the applicable appearance properties of the last selected shape to the other selected shapes.
has been removed. Use the new style copy-paste feature, which does the same thing.
+ AnnotationEntry
elements of
+ DTable
instances. This modification allows following use-cases:
+ org.eclipse.sirius.diagram.business.api.diagramtype.IDiagramDescriptionProvider.allowsAutoSizeNodeStyle(DNode)
has been added to indicates if a diagram description provider allows node auto-size mode computed from the node style on the specified element.
+ org.eclipse.sirius.diagram.business.api.query.DNodeQuery.isAutoSize()
has been added to indicates if a node is in auto-size mode.
+ org.eclipse.sirius.diagram.business.api.query.DNodeQuery.supportNodeStyleAutoSize(NodeStyle, NodeStyleDescription)
has been added to indicates if a DNode can support autosize mode defined from its style.
+ org.eclipse.sirius
+ org.eclipse.sirius.business.api.logger.InterpretationContext
is created to ease setting and clearing variables when interpreting expressions.
+ org.eclipse.sirius.table
+ org.eclipse.sirius.table.business.api.helper.TableVariablesHelper
is added to initialize variable value according active table decorator.
+ org.eclipse.sirius.table.business.api.helper.TableToolHelper
is added to handle common evaluations with table tools.
+ org.eclipse.sirius.table.business.api.helper.TableHelper.canEditCrossTableCell(DCell)
and
+ org.eclipse.sirius.table.business.api.helper.TableHelper.canEditCrossTableCell(DCell)
have been deprecated for removal.
+ TableToolHelper
should be used to handle precondition evaluation.
+ org.eclipse.sirius.table.business.api.query.DLineQuery
query has been deprecated for removal. It was only used once in a internal class.
+ org.eclipse.sirius.table.tools.api.command.ITableCommandFactory.buildCreateLineCommandFromTool(LineContainer, EObject, CreateTool)
and
+ org.eclipse.sirius.table.tools.api.command.ITableCommandFactory.buildCreateColumnCommandFromTool(DTable, EObject, CreateTool)
have been deprecated for removal. They have been replaced by methods using applicable DSemanticDecorator in signature.
+ org.eclipse.sirius.diagram.ui
org.eclipse.sirius.diagram.ui.business.api.view.SiriusLayoutDataManager.KEEP_FIXED
has been added to tag elements to be laid out and indicate that their location should not be modified.
+ org.eclipse.sirius.diagram.ui.business.api.view.SiriusLayoutDataManager.getArrangeCreatedViewsCommand(List<IAdaptable>, List<IAdaptable>, IGraphicalEditPart, String)
has been added to handle the new
+ KEEP_FIXED
layout tag. There are now 3 types of tags that can be used for layout:
+ org.eclipse.gmf.runtime.diagram.ui.services.layout.LayoutType.DEFAULT
,
+ org.eclipse.sirius.diagram.ui.business.api.view.SiriusLayoutDataManager.LAYOUT_TYPE_ARRANGE_AT_OPENING
and
+ org.eclipse.sirius.diagram.ui.business.api.view.SiriusLayoutDataManager.KEEP_FIXED
.
+ org.eclipse.sirius.diagram.ui.tools.api.preferences.SiriusDiagramUiPreferencesKeys.PREF_FONT_LAST_USED_COLORS
is used to store the last used font colors.
+ org.eclipse.sirius.diagram.ui.tools.api.preferences.SiriusDiagramUiPreferencesKeys.PREF_FILL_LAST_USED_COLORS
is used to store the last used fill colors.
+ org.eclipse.sirius.diagram.ui.tools.api.preferences.SiriusDiagramUiPreferencesKeys.PREF_LINE_LAST_USED_COLORS
is used to store the last used line colors.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorManager.collectVsmColors(Session)
has been added to collect colors defined in the VSM.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorManager.rgbToString(RGB)
has been added to convert an RGB color to a string.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorManager.stringToRGB(String)
has been added to convert a string color to an RGB color.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorManager.sortColors(Collection<RGB>)
has been added to sort a collection of RGB colors using their HSB (Hue, Saturation, Brightness). The specified collection isn’t modified.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager
has been added to manage color categories used in the new
+ ColorPalettePopup
. It includes the following methods:
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.getLastUsedColors()
to get the list of last colors used by the user.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.getCustomColors()
to get the list of custom colors defined by the user.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.getSuggestedColors()
to get the list of the ten preferred colors defined in the VSM.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.getBasicColors()
to get ten useful colors.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.addLastUsedColor(RGB)
to add a color to the list of last used colors.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.setCustomColors(List<RGB>)
to set the list of custom colors defined by the user.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.setSuggestedColors(List<RGB>)
to set the list of the preferred suggested colors.
+ org.eclipse.sirius.diagram.ui.tools.api.color.ColorCategoryManager.getSelectedColorsByPropertyId()
to get the list of colors used for all objects selected in the representation for a specific propertyId.
+ org.eclipse.sirius.diagram.ui
+ org.eclipse.sirius.diagram.ui.tools.api.util.GMFNotationHelper.getNotes(Diagram)
and
@@ -186,13 +380,13 @@ org.eclipse.sirius.diagram.ui
CirclePlus
,
@@ -257,12 +451,12 @@ InputArrowWithFillDiamondAndDot
.
Shift
key is pressed during using the
@@ -290,7 +484,7 @@ org.eclipse.sirius.ui.enableCreatedElementsConstraintInSelectElementsListener
has been added to allow to ignore the “created elements” constraint when the
@@ -309,14 +503,14 @@ aql:input.getContextSelections()
.
org.eclipse.sirius.ecore.extender.business.api.permission.IPermissionAuthority
now has a
isFrozen(EObject)
method. This is a status handled by the collaborative plugins, but this new API makes this status available for queries from Sirius core plugins.
org.eclipse.sirius
org.eclipse.sirius.business.api.session.Session.getSharedMainDAnalysis()
is added to get the DAnalysis that holds data and can be shared in some context such as CDO.
org.eclipse.sirius.diagram.ui
org.eclipse.sirius.properties.core.api.SiriusInputDescriptor.getOriginalSelections()
.
Minor release to avoid errors thrown during indirect deletion of edges whose label is selected (deletion done from outside the diagram editor or from a custom command).
com.ibm.icu
has been removed.
edgeView
and
otherEnd
are now also available during precondition evaluation of a reconnect tool. Before, these variables were available only during the reconnection tool execution.
org.eclipse.sirius
org.eclipse.sirius.business.api.query.DRepresentationDescriptorQuery.DRepresentationDescriptorValidityAdapter.triggerRepresentationValidation(boolean)
were also created. These new methods (with a parameter value true) can be used in tests, but should not be used by the “Model explorer” view otherwise there would be no more lazy loading of representations.
org.eclipse.sirius
org.eclipse.sirius.diagram.business.internal.metamodel.helper.ContentHelper.getAllEdgeMappings(diagramDescription, false)
alongside with the getAllNodeMappings and getAllContainerMappings methods.
org.eclipse.sirius.diagram.ui
org.eclipse.sirius.tests.support.api.EclipseTestsSupportHelper.copyDirectory(String, String)
have been added to ease to the copy of the test files from the test plugin to the junit workspace.
org.eclipse.sirius.diagram
org.eclipse.sirius.diagram.ui
org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDDiagramEditPart.refreshChildren()
has been overridden to redraw the edges figures according to the order of the GMF edges.
org.eclipse.sirius.diagram.ui.business.internal.migration.SetChangeIdMigrationParticipant
sets a random changeId if it didn’t already exist. The corresponding version, stored in attribute version of viewpoint:DAnalysis of the aird file, is
@@ -875,8 +1069,8 @@ org.eclipse.sirius.diagram.ui.business.internal.migration.NoteShapeDefaultLabelAlignmentMigrationParticipant
has been updated to repair Notes with a potential wrong vertical label alignment. This problem can occur since Sirius 6.3.2 used in a collaborative environment, Obeo Designer Team Edition or Team For Capella for example. The corresponding version, stored in the attribute version of viewpoint:DAnalysis of the aird file, is
@@ -884,7 +1078,7 @@ aird
file, select “Properties”, and in the dialog go to the “Sirius settings” section. The preferences are stored in the project scope and associated to the aird file. For more details, refer the
@@ -894,7 +1088,7 @@ CellEditor
tool is available for feature column mapping of edition table. It allows to define a specific
@@ -920,7 +1114,7 @@ diagram:targetSemanticId
is added on SVG elements to reference the target semantic id on which the graphical element is based on. This option can be activated programmatically or by setting a preference. See the details below:
@@ -947,7 +1141,7 @@ org.eclipse.sirius
new DRepresentationQuery(DRpresentation).isAutoRefresh()
instead.
org.eclipse.sirius.diagram.ui
org.eclipse.sirius.ext.gmf.runtime.editparts.GraphicalHelper.getAbsoluteBoundsWithoutLabelsIn100Percent(GraphicalEditPart)
has been added to get the rectangle bounds without taking labels into account. This is used, in particular, to compute the bendpoints of an edge when the source or the target of the edge is an edge.
The arrange-all functionality is available in Sirius diagram editors in the form of a button and a context menu:
+The layout-all functionality is available in Sirius diagram editors in the form of a button and a context menu:
@@ -63,13 +63,13 @@
org.eclipse.sirius.diagram.ui.layoutProvider
and
org.eclipse.sirius.diagram.ui.viewOrderingProvider
as well as an API to ease the writing of your own layout algorithms and their usage in Sirius diagram editors.
- This API reuse the GMF “Arrange All” API and augments it with features needed by Sirius layout algorithms like:
+This API reuse the GMF “Layout All” API and augments it with features needed by Sirius layout algorithms like:
GMF provides basic API and implementations to ease the customization of the “Arrange All” mechanism. It also implements a complete algorithm that is based on the graphical elements.
+GMF provides basic API and implementations to ease the customization of the “Layout All” mechanism. It also implements a complete algorithm that is based on the graphical elements.
The top level type of this this API is
ILayoutNodeProvider
:
provides
operation is meant to return true if the class can arrange the diagram for the specified operation.
The
- layoutEditParts
operations will return the commands that will actually be in charge of arranging the diagrams' edit parts. The first one takes the main container that is to be arranged while the latter accepts a list of edit parts to arrange.
+ layoutEditParts
operations will return the commands that will actually be in charge of layouting the diagrams' edit parts. The first one takes the main container that is to be layouted while the latter accepts a list of edit parts to layout.
The implementation of those three methods forms your layout algorithm.
With this API comes an extension point @@ -123,7 +123,7 @@
Sirius defines and already uses various different layout providers in different contexts.
Here is a list of all of those with a basic description of each:
It is used by Sirius as entry point to dispatch arrange requests on a Sirius diagram to registered layout providers. The dispatch takes in consideration layout algorithm specified in the VSM and layout providers provided from the Sirius extension point +
It is used by Sirius as entry point to dispatch layout requests on a Sirius diagram to registered layout providers. The dispatch takes in consideration layout algorithm specified in the VSM and layout providers provided from the Sirius extension point
org.eclipse.sirius.diagram.ui.layoutProvider
.
Lays out connections alongside their source and target nodes (useful on the sequence diagram for example).
This provider only purpose is to delegate arrangement to attached layout provider after having added information about not selected parts in the layout hint.
+This provider only purpose is to delegate layout to attached layout provider after having added information about not selected parts in the layout hint.
It is used for example with our composite layout providers to keep fixed the not selected parts and to avoid putting other selected parts on it when layouting.
-It is used primary by default provider whenever the arrange-all action is called because the arrangement can be done on a selection and not on all diagram elements.
+It is used primary by default provider whenever the layout-all action is called because the layout can be done on a selection and not on all diagram elements.
This provider is used to delegate layouting to attached provider only when an arrange-all is done on a diagram and not an arrange selection.
-When used as primary provider, the arrange selection action is not available in the menu of a Sirius editor using this provider.
+This provider is used to delegate layouting to attached provider only when a layout-all is done on a diagram and not a layout selection.
+When used as primary provider, the layout selection action is not available in the menu of a Sirius editor using this provider.
It is used for example in the
OrderedTreeLayoutProvider
where it does not make sense to make a tree of just some elements because the all concept is to have a complete tree representation.
PinnedElementLayoutProvider
can be attached to a compound instance. Then those providers are called in their attach order one after another to do their layouting parts. It avoids the composite provider to duplicate code to handle pinned elements.
This provider arranges all the bordered nodes which are connected to one edge. It reduces the path of the edge between each extremity. For example:
+This provider layouts all the bordered nodes which are connected to one edge. It reduces the path of the edge between each extremity. For example:
Becomes
@@ -717,7 +717,7 @@This class contains the core layout algorithm. When a user calls an arrange-all on a diagram that will be configured to use your layout algorithm, an instance of this class is created. You will be given the parts to layout. Then it is your job to layout it as you want.
+This class contains the core layout algorithm. When a user calls a layout-all on a diagram that will be configured to use your layout algorithm, an instance of this class is created. You will be given the parts to layout. Then it is your job to layout it as you want.
For example, the ELK integration have the following:
public class ELKLayoutNodeProvider extends DefaultLayoutProvider {
@@ -773,7 +773,7 @@ org.eclipse.sirius.diagram
clp.addProvider(new PinnedElementsLayoutProvider(cdtp));
if (ENABLE_BORDERED_NODES_ARRANGE_ALL) {
// ArrangeSelectionLayoutProvider wrap all providers to manage
- // the selected diagram element on diagram "Arrange all"
+ // the selected diagram element on diagram "Layout all"
AbstractLayoutProvider abstractLayoutProvider = BorderItemAwareLayoutProviderHelper.createBorderItemAwareLayoutProvider(clp);
this.layoutNodeProvider = new ArrangeSelectionLayoutProvider(abstractLayoutProvider);
} else {
diff --git a/sirius/doc/i18n_changes.html b/sirius/doc/i18n_changes.html
index 5ab027a..e8497aa 100644
--- a/sirius/doc/i18n_changes.html
+++ b/sirius/doc/i18n_changes.html
@@ -11,8 +11,229 @@ Translation Keys Changes
This document lists the changes in
TranslatableMessage
used for Sirius internationalization in each Sirius version.
- Translation Keys Changes in Sirius 7.0.7 (from Sirius 7.0.6)
+ Translation Keys Changes in Sirius 7.4.0 (from Sirius 7.3.0)
Message Keys Added
+
+ -
+
org.eclipse.sirius.tools.api.Messages.ImageManager_projectMembersFailure
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteStylePureGraphicalAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteStylePureGraphicalAction_text
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteStylePureGraphicalAction_toolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_ArrangeAll_ActionLabelText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_ArrangeAll_ActionToolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_toolbar_ArrangeAll_ActionLabelText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_toolbar_ArrangeAll_ActionToolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_ArrangeSelection_ActionLabelText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_ArrangeSelection_ActionToolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_toolbar_ArrangeSelection_ActionLabelText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeAction_toolbar_ArrangeSelection_ActionToolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_actionDiagramText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_toolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_toolbarActionDiagramText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeMenuManager_Arrange_ActionLabelText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeMenuManager_Arrange_ActionToolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.LayoutChildrenAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.LayoutChildrenAction_menuText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.LayoutChildrenAction_toolbarText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.LayoutChildrenAction_tooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.MovePinnedElementsAction_text
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.MovePinnedElementsAction_toolTipText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PinElementsEclipseAction_tooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorManager_logErrorParsingRGB
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_customCategoryLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_customCategoryMoreButtonTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_customCategoryTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_basicCategoryLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_basicCategoryTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_lastUsedCategoryLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_lastUsedCategoryTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_moreButtonLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_suggestedCategoryLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_suggestedCategoryMoreButtonTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_suggestedCategoryTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorPalettePopup_title
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_addButtonLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_addButtonTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_customAllColorsTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_customColorsDialogTitle
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_groupAllCustomColorsLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_groupAllSuggestedColorsLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_groupDisplayedSuggestedColorsLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_removeButtonLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_removeButtonTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_suggestedAllColorsTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_suggestedColorsDialogTitle
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ColorSelectionDialog_suggestedDisplayedColorsTooltip
+
+
+ Message Values Changed
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteFormatAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteFormatAction_text
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteLayoutAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteLayoutAction_text
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteStyleAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PasteStyleAction_text
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_commandLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_toolTipDiagramText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.ArrangeBorderNodesAction_toolbarActionText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.PinElementsEclipseAction_text
+
+
+ Message Keys Removed
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.SiriusCopyAppearancePropertiesAction_tooltipMessage
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.DiagramEditorContextMenuProvider_arrangeMenuText
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.UnpinElementsEclipseAction_text
+
+
+ Translation Keys Changes in Sirius 7.3.0 (from Sirius 7.2.1)
+ Message Keys Added
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.DiagramGeneralPreferencePage_newlyCreatedElementsGroupLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_diagonalLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_diagonalTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_horizontalLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_horizontalTooltip
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_verticalLabel
+
+ -
+
org.eclipse.sirius.diagram.ui.provider.Messages.NewlyCreatedElements_verticalTooltip
+
+
+ Translation Keys Changes in Sirius 7.0.7 (from Sirius 7.0.6)
+ Message Keys Added
-
org.eclipse.sirius.tree.ui.provider.Messages.AbstractDTreeItemRunnableWithProgress_emptyDTreeItemsParameter
@@ -30,7 +251,7 @@ Message Keys Added
org.eclipse.sirius.tree.ui.provider.Messages.ExpandDTreeItemRunnableWithProgress_expandAllTreeItems
- Message Keys Removed
+ Message Keys Removed
-
org.eclipse.sirius.tree.ui.provider.Messages.ExpandDTreeItemRunnableWithProgress_treeItemCollapsing
@@ -40,7 +261,7 @@ Message Keys Removed
Translation Keys Changes in Sirius 7.0.2 (from Sirius 7.0.1)
- Message Keys Added
+ Message Keys Added
-
org.eclipse.sirius.diagram.ui.provider.Messages.ChangeMassivelyImagePathDialog_newLabel
@@ -77,7 +298,7 @@ Message Keys Added
Translation Keys Changes in Sirius 7.0.1 (from Sirius 7.0.0)
- Message Keys Added
+ Message Keys Added
-
org.eclipse.sirius.diagram.ui.provider.Messages.SVGImageRegistry_LoadImageError
@@ -135,7 +356,7 @@ Message Keys Renamed or Moved
org.eclipse.sirius.viewpoint.provider.Messages.AnalysisSelectorFilteredItemsSelectionDialog_labelProviderLocal
@@ -171,7 +392,7 @@ org.eclipse.sirius.tools.api.Messages.DRepresentationDescriptorQuery_representationError_broken_fragment_path
org.eclipse.sirius.diagram.Messages.NodeMappingHelper_methodInvocationErrorMsg
@@ -202,7 +423,7 @@ org.eclipse.sirius.diagram.sequence.ui.Messages.SequenceEMFCommandFactory_notSupportedZorderCommandsMessage
@@ -250,9 +471,9 @@ org.eclipse.sirius.diagram.Messages.ZOrderRecordingCommand_notSameType
org.eclipse.sirius.diagram.ui.provider.Messages.RepairEdgesWithOneBendpointMigrationParticipant_edgesModified
@@ -417,7 +638,7 @@ org.eclipse.sirius.viewpoint.Messages.SiriusPreferencesImpl_noProjectScope
org.eclipse.sirius.diagram.ui.provider.Messages.FormatData_illegalTarget
@@ -436,7 +657,7 @@ org.eclipse.sirius.diagram.ui.provider.Messages.DDiagramEditorImpl_error_representationRefresh
@@ -553,7 +774,7 @@ org.eclipse.sirius.viewpoint.provider.Messages.ViewpointsFolderInvalidItemImpl_invalidRepresentations_title
org.eclipse.sirius.diagram.ui.provider.Messages.DDiagramEditorImpl_diagramRefreshTitle
@@ -563,14 +784,14 @@ org.eclipse.sirius.viewpoint.Messages.DRepresentationDescriptorQuery_representationError
org.eclipse.sirius.diagram.ui.provider.Messages.BundledImageShape_idMissing
@@ -594,14 +815,14 @@ org.eclipse.sirius.viewpoint.provider.Messages.LogThroughActiveDialectEditorLogListener_wrongErrorMessageProvider
org.eclipse.sirius.diagram.ui.provider.Messages.DiagramConnectionsPreferencePage_enableOverrideLabel
org.eclipse.sirius.common.ui.Messages.MigrationUIUtil_askToSaveChanges
@@ -721,7 +942,7 @@ org.eclipse.sirius.viewpoint.Messages.TechnicalUidMigrationParticipant_message
org.eclipse.sirius.diagram.ui.provider.Messages.LayoutingModeSwitchingAction_activate
@@ -740,7 +961,7 @@ org.eclipse.sirius.diagram.ui.provider.Messages.DiagramGeneralPreferencePage_sizeGroupLabel
@@ -923,7 +1144,7 @@ org.eclipse.sirius.viewpoint.Messages.ModelingModelProvider_satusUnsavedDataWillBeLost
org.eclipse.sirius.diagram.ui.provider.Messages.DiagramGeneralPreferencePage_scaleDiagramOnExport
@@ -954,7 +1175,7 @@ org.eclipse.sirius.diagram.sequence.Messages.Range_wrongArgument
@@ -1104,7 +1325,7 @@ org.eclipse.sirius.viewpoint.Messages.SessionFactoryImpl_ResourceTypeErrorMsg
org.eclipse.sirius.viewpoint.provider.Messages.DeleteRepresentationAction_message
@@ -1120,7 +1341,7 @@ org.eclipse.sirius.common.acceleo.aql.business.Messages.AQLInterpreter_errorWithExpression
@@ -1513,7 +1734,7 @@ org.eclipse.sirius.viewpoint.Messages.SessionInterpreter_evaluationError
org.eclipse.sirius.editor.properties.Messages.ImportingDefaultPropertiesViewDescriptionCommand_text
diff --git a/sirius/doc/index.html b/sirius/doc/index.html
index ae7639f..76f27c8 100644
--- a/sirius/doc/index.html
+++ b/sirius/doc/index.html
@@ -109,7 +109,7 @@ Note: This documentation refers to the latest major release of Sirius, version 7.3. For documentation corresponding to previous releases, see 7.2.x, 7.1.x, 7.0.x, 6.6.x, 6.5.x, 6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.1.x, 5.0.x, 4.1.x, 4.0.x, 3.1.x, see 3.0.x, 2.0.x, 1.0.x, or 0.9.
+Note: This documentation refers to the latest major release of Sirius, version 7.4. For documentation corresponding to previous releases, see 7.3.x, 7.2.x, 7.1.x, 7.0.x, 6.6.x, 6.5.x, 6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.1.x, 5.0.x, 4.1.x, 4.0.x, 3.1.x, see 3.0.x, 2.0.x, 1.0.x, or 0.9.
For further information, please visit our website at www.eclipse.dev/sirius.
diff --git a/sirius/doc/specifier/diagrams/Diagrams.html b/sirius/doc/specifier/diagrams/Diagrams.html index e4fc7d5..a54340f 100644 --- a/sirius/doc/specifier/diagrams/Diagrams.html +++ b/sirius/doc/specifier/diagrams/Diagrams.html @@ -228,21 +228,21 @@When using one of the ELK layout algorithms, there are some specificities in comparison with the other “standard” Sirius layout:
To use these algorithm, first install the feature:
@@ -1430,7 +1430,18 @@
Using the Appearance tab in the Properties view, the style of elements can be modified. For Nodes or Containers, for example, the font style can be modified, as can the color of the element. It is also possible to use an image to modify the overall appearance of the element.
++ +
+You can also access these options from different locations in the user interface:
+There are 3 menu item that allow to change the color of an element:
+When one of the color-change menus is clicked, a popup dialog with color palettes appears, allowing you to choose which color to apply among four categories provided:
+
+
+
Note: The colors saved for “Custom” and “Suggested” categories are persisted + separately for “Font Color”, “Fill Color” and “Line Color”. This is useful because you usually different colors for label and background for example. +
+Note: + Last used colors category is persisted in preferences, + Custom and + Suggested colors categories are persisted in the aird file. +
+When clicking on the “More...” button of the + Custom color category, the “Custom Colors” dialog appears. +
+When clicking on the “More...” button of the + Suggested color category, the “Suggested Colors” dialog appears. +
+There are specific shortcuts to change the move behavior:
When elements in a diagram are not directly positioned by the user. By default, they are sequentially positioned in the center of the editor, diagonally. They can also be positioned vertically or horizontally by changing the preference in Sirius > Sirius Diagram > Newly created elements layout.
-
+
- +
- +
- +
This action is available within the diagram or containers contextual menu (“Reset Origin”) or via “M1” + “HOME” shortcut. @@ -1093,7 +1193,7 @@
The port is dropped in the container above the mouse location and linked to its closest edge.
-It is possible to duplicate format of diagram elements, that is to say to replicate mutual organization and style of diagram elements from one diagram to another. This replication only applies to the same semantic elements between diagrams.
By default, this copy/paste replicates the layout (x, y width and height) AND the style (colors, font, ...).
When an element format is copied, the format of all its children is also recursively copied (containers, nodes or border nodes). The format of the label and outgoing edges of all these elements, is also copied.
-The next picture shows the diagram where the layout will be replicated. The tool to paste layout is called “Paste Layout” and can be activated from the tab-bar or from the contextual menu (see +
The next picture shows the diagram where the layout will be replicated. The tool to paste layout is called “Paste Layout (Semantic)” and can be activated from the tab-bar or from the contextual menu (see Edit section).
@@ -1125,7 +1225,7 @@
Since Sirius 7.1.0, there are 2 modes to paste the layout. At each execution of the action “Paste format” or “Paste layout”, a dialog is displayed to choose the mode.
+Since Sirius 7.1.0, there are 2 modes to paste the layout. At each execution of the action “Paste format (Semantic)” or “Paste layout (Semantic)”, a dialog is displayed to choose the mode.
@@ -1165,7 +1265,7 @@
@@ -1189,7 +1289,7 @@
@@ -1207,7 +1307,7 @@
@@ -1220,7 +1320,7 @@
@@ -1243,13 +1343,13 @@
-
The next picture shows the diagram where the layout will be replicated. The tool to paste style is called “Paste Style” and can be activated from the tab-bar or from the contextual menu (see +
The next picture shows the diagram where the layout will be replicated. The tool to paste style is called “Paste Style (Semantic)” and can be activated from the tab-bar or from the contextual menu (see Edit section).
@@ -1259,8 +1359,8 @@
-
The next picture shows the diagram where the layout will be replicated. The tool to paste format is called “Paste Format” and can be activated from the tab-bar when the diagram is selected, from the contextual menu (see +
The next picture shows the diagram where the layout will be replicated. The tool to paste format is called “Paste Format (Semantic)” and can be activated from the tab-bar when the diagram is selected, from the contextual menu (see Edit section) or through the Ctrl+Alt+Shift+V shortcut.
@@ -1274,6 +1374,17 @@+
The Paste Style button is used to copy the style from one diagram element to another. Elements can be in different diagrams, have different semantic elements, or even be of different types (for example, you can copy the style of a node to an edge), in which case style properties will be applied at best (some style properties may not be applied).
+To copy a style from one element to another :
+
1. select the element whose style you wish to copy,
+
2. click on the Copy Style button in the toolbar or in the Edit submenu of the context menu,
+
3. select the elements to which the style is to be applied,
+
4. click on Paste Style in the toolbar or in the Edit submenu of the context menu.
+
+ +
It is also possible to paste an image from the clipboard to a node or container. To do this, copy the image in your clipboard, select a node and click on the button “Paste image from clipboard” (see picture below). The image is saved as a PNG file in the workspace, in an “images” folder and the selected element has a workspace image style that references this image.
@@ -1282,10 +1393,10 @@
It is possible to mark specific elements in a diagram as having a fixed location so that they are not moved by the - Arrange All action. + Layout All action.
-Diagram element pinning allows you to combine both methods: manually arranging the position and size of elements when it is important while still being able to call - Arrange All for the rest, without the risk of destroying your manual layouts. +
Diagram element pinning allows you to combine both methods: manually layouting the position and size of elements when it is important while still being able to call + Layout All for the rest, without the risk of destroying your manual layouts.
The next picture shows a diagram with three persons.
@@ -1293,7 +1404,7 @@- Arrange All action lays out all diagram elements in order to produce the “best” layout. As we can see on the next picture, all diagram elements are moved. + Layout All action lays out all diagram elements in order to produce the “best” layout. As we can see on the next picture, all diagram elements are moved.
@@ -1308,7 +1419,7 @@
Now John Doe and Jane Smith are pinned, a new - Arrange All action will preserve their locations. + Layout All action will preserve their locations.
@@ -1327,8 +1438,8 @@
Every diagram elements that you move will be pinned by default and will need an unpin operation to be “moveable” again.
-This default behavior can be changed in Eclipse preferences, as can be seen in the next picture.
+You have a configuration to ensure that any diagram element you move is automatically pinned and will require an unpinning operation to be movable again by a layout.
+This behavior can be enabled or disabled in Eclipse preferences, as shown in the following image:
@@ -1370,8 +1481,8 @@
-
When you only want to do layout operations (e.g. arrange a diagram by moving nodes or edges), you may modify the semantic models without paying attention. For example, when organizing bordered nodes, you may change the container of the semantic element, without wanting do so.
+When you only want to do layout operations (e.g. layout a diagram by moving nodes or edges), you may modify the semantic models without paying attention. For example, when organizing bordered nodes, you may change the container of the semantic element, without wanting do so.
When this mode is enabled, the following operations are changed:
In this example, as Layouting mode is activated, reconnecting the Edge from Abstrat Customer to - Company is forbidden. You can arrange this edge (change start location, add bending points...) without risking to modify the underlying semantic model. + Company is forbidden. You can layout this edge (change start location, add bending points...) without risking to modify the underlying semantic model.
When a diagram is closed, the Layouting mode is automatically disabled. @@ -1712,7 +1823,7 @@
Pin/Unpin. The final standard tools which are available in the top row of all the palette allow to mark or unmark diagram elements as pinned. Pinning an element on the diagram means that when an automatic layout of the diagram is requested (see the - Arrange All action), the element will not be moved or resized: it will stay at the exact same position as you placed it. Pinned element can still be moved manually. To pin or unpin an element, simply select the appropriate tool (using the arrow right next to the icon to make the menu appear), and when the tool is active, click on the element to mark as pinned or un-pinned. + Layout All action), the element will not be moved or resized: it will stay at the exact same position as you placed it. Pinned element can still be moved manually. To pin or unpin an element, simply select the appropriate tool (using the arrow right next to the icon to make the menu appear), and when the tool is active, click on the element to mark as pinned or un-pinned.
Below the palette’s header, which contains the general tools described above, you will find all the custom tools which have been configured for your modeler. Note that depending on which @@ -1770,16 +1881,24 @@
When the diagram itself (and not a specific element) is selected, the tab-bar contains the following buttons:
- Automatic Layout Tools. The first group of tools are used to trigger an automatic layout of the elements on the diagram. Automatic layout uses a generic algorithm which tries to arrange the position and sizes of the elements on the diagram in a nice, readable way. In particular it makes sure, unless specific constraints prevent it, that no elements overlap each other, and that elements which contain others (i.e. containers) are large enough to show all their contents. It also tries to minimize the crossing of edges. The two ways to invoke the automatic layout algorithms are available as a drop-down menu on the left-most icon in the tab-bar. + Automatic Layout Tools. The first group of tools are used to trigger an automatic layout of the elements on the diagram. Automatic layout uses a generic algorithm which tries to layout the position and sizes of the elements on the diagram in a nice, readable way. In particular it makes sure, unless specific constraints prevent it, that no elements overlap each other, and that elements which contain others (i.e. containers) are large enough to show all their contents. It also tries to minimize the crossing of edges. The two ways to invoke the automatic layout algorithms are available as a drop-down menu on the left-most icon in the tab-bar.
@@ -1842,7 +1961,7 @@
Pin/Unpin. You can chose to pin (or unpin) elements on the diagram. Pinned elements are kept in their position by the automatic layout algorithms (see - Arrange All), while unpinned elements can be moved and resized. You can pin/unpin elements from their context menu (using the + Layout All), while unpinned elements can be moved and resized. You can pin/unpin elements from their context menu (using the Layout sub-menu) or more globally by using the Pin/Unpin button in the tab-bar. This button opens a dialog box which presents all the elements on the diagram, organised in a hierarchical way which corresponds to their graphical organization. Note that because a single semantic element may have multiple representations on the diagram, they may appear multiple times in the dialog box. Making one representation pinned will not pin the other graphical representations of the same element. You can chose which elements should be pinned (resp. unpinned) on the diagram by checking (resp. unchecking) them in the dialog. The top area of the dialog box contains various buttons to help you find the elements you want, by show only the checked (i.e. visible) or unchecked (i.e. hidden) elements, by expanding or collapsing the tree viewer, or by checking or un-checking all elements at once. You can also search for elements by their name using the search box. Note that pinning has currently no effect on edges.
@@ -1851,9 +1970,23 @@
- Paste Layout. This button is only enabled if you have previously copied the layout of some elements in the clipboard, using the
- Copy layout action (only visible in the tab-bar when elements are select).
- Paste layout will apply the same size and positions which were copied in the clipboard to the corresponding elements in the current diagram. For the purpose of this command, the “corresponding elements” are the graphical elements which represent the same semantic objects.
+ Paste. This button contains several paste actions, it is only enabled if you have previously copied data. The default action of this button is paste style, Other actions are available in the menu by clicking on the arrow next to the button:
+
-
+ Paste Style: paste the style of the element to another, it is only enabled if you have previously copied style.
+
-
+ Paste Format (Semantic):
+ Paste Layout (Semantic) +
+ Paste Style (Semantic)
+
-
+ Paste Layout (Semantic): it is only enabled if you have previously copied the format of some elements in the clipboard, using the
+ Copy Format action (only visible in the tab-bar when elements are selected).
+ Paste Layout (Semantic) will apply the same size and positions which were copied in the clipboard to the corresponding elements in the current diagram. For the purpose of this command, the “corresponding elements” are the graphical elements which represent the same semantic objects.
+
-
+ Paste Style (Semantic): it is only enabled if you have previously copied the format of some elements in the clipboard, using the
+ Copy format action (only visible in the tab-bar when elements are selected).
+ Paste Style (Semantic) will apply the same style which were copied in the clipboard to the corresponding elements in the current diagram. For the purpose of this command, the “corresponding elements” are the graphical elements which represent the same semantic objects.
+
-
+ Paste Image From Clipboard: paste the image from clipboard to the selected diagram elements, it is only enabled if there is an image in your clipboard and if the selected element can have an image.
@@ -1867,7 +2000,7 @@
@@ -1896,9 +2029,24 @@
- - Arrange Selection. This action launches the layout algorithm only for the diagram elements which are selected (and not pinned). All the other elements on the diagram, whether pinned or not, will not be moved. Note that edges may be re-arranged if one of their ends is part of the selection. +
+Alignment Control. This menu contains several operations which can be used to align several graphical elements in various ways. The actions in this menu are only enabled when several elements are selected. @@ -1909,13 +2057,17 @@
- Pin/Unpin. These two buttons can be used to mark all the selected elements as pinned or not. + Pinned. This checkbox can be used to mark the selected elements as pinned or not.
- Copy Layout. This tool can be used to duplicate the layout of some diagram elements from this diagram into another. This replication only applies to the same semantic elements between diagrams. First, select the set of elements of interest, and use this
- Copy layout action. Then go to the target diagram, and choose the
- Paste layout action from the tab-bar there.
+ Copy format. This tool can be used
+
- to duplicate the format of some diagram elements from this diagram into another. This replication only applies to the same semantic elements between diagrams. First, select the set of elements of interest, and use this
+ Copy Format action. Then go to the target diagram, and choose the
+ Paste Format (Semantic),
+ Paste Layout (Semantic) or
+ Paste Style (Semantic) action from the tab-bar there.
+
- or to copy the style of a diagram element to any another diagram element.
@@ -1947,12 +2099,6 @@
- - Cancel Custom Style. As soon as you modify manually any of the graphical properties of an element, the element’s style is marked as - customized, and is not refreshed if its definition changes. The - Cancel Custom Style button resets all the style attributes of an element to its default values and un-marks it as customized. -
Apply Style. Use this button to reproduce the visual style of an element onto others. This action will apply the style of the last selected element to the others. When you click on this button, all the visual attributes from the last element which can are compatible with the other elements will be applied to them. @@ -2053,7 +2199,7 @@
The - Arrange All command which launches an automatic layout of all the elements on a diagram has been completely customized for sequence diagrams. Arranging a sequence diagram will keep the relative positions of all the elements, but reduce any un-needed vertical or horizontal spaces. All elements will be resized to the minimum size necessary, and “packed” towards the top-left corner of the diagram. This results in a diagram which uses the minimum space required to present all the elements, while keeping enough white-space between them to be easy to read. + Layout All command which launches an automatic layout of all the elements on a diagram has been completely customized for sequence diagrams. Layouting a sequence diagram will keep the relative positions of all the elements, but reduce any un-needed vertical or horizontal spaces. All elements will be resized to the minimum size necessary, and “packed” towards the top-left corner of the diagram. This results in a diagram which uses the minimum space required to present all the elements, while keeping enough white-space between them to be easy to read.
It is also possible to manually insert vertical blank space to facilitate the organization of messages or to add new events in a sequence diagram.