Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[542678] specification for bundle image extension point #3

Merged
merged 4 commits into from Dec 5, 2019

Conversation

SteveMonnier
Copy link
Contributor

Addition of a specification concerning the improvement to the bundle
image provided shape extension point

bug: 542678
Signed-off-by: Steve Monnier steve.monnier@obeo.fr

Addition of a specification concerning the improvement to the bundle
image provided shape extension point

bug: 542678
Signed-off-by: Steve Monnier <steve.monnier@obeo.fr>
Addition of a specification concerning the improvement to the bundle
image provided shape extension point

bug: 542678
Signed-off-by: Steve Monnier <steve.monnier@obeo.fr>
@@ -41,7 +41,7 @@ This feature uses the existing API and does not need new API or API changes.

h3. User Interface Changes

The extension point tags _colorAttribute_, _borderColorAttribute_ and __borderSizeAttribute__ will now provide a sub attribute (not mandatory).
The extension point tags @colorAttribute@, @borderColorAttribute@ and @borderSizeAttribute@ will now provide a sub attribute (not mandatory).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the format of the extension point will be different.
<image imagePath="myPath" label="myLabel"> <backgroundcolor colorIdentifier="stop8224-2" colorAttribute="style"/> ...

instead of

<image imagePath="/org.eclipse.sirius.tests.swtbot/images/donut.svg" label="Donut"> <colorIdentifier colorIdentifier="stop8224-2"> </colorIdentifier> <colorAttribute colorAttribute="style"> </colorAttribute>...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Limitation identified in "Implementation choices and tradeoffs"

We will need to test the color, border color and border size with two new sample:
Tests on the older version of the extension point need to be still working after this enhancement.

For the new extension point, we will need to test the color, border color and border size with two new sample:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with two new sample

with 3 new samples

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have two new samples:

  • one with multi-valued attributes different than from donut.svg
  • one with single-valued attributes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some toughts, I will also had the donut.svg sample. It will not make a difference with the other multi-valued sample...but it will draw a connection between the old extension point and the new one.

Update the specification concerning the improvement to the bundle
image provided shape extension point with the different remarks.

bug: 542678
Signed-off-by: Steve Monnier <steve.monnier@obeo.fr>
Improve the specification concerning the improvement to the bundle
image provided shape extension point with the different remarks.

bug: 542678
Signed-off-by: Steve Monnier <steve.monnier@obeo.fr>
@lredor lredor merged commit cd541e5 into eclipse-sirius:master Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants