-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add bus id in SLD legend #126
Conversation
Signed-off-by: LE SAULNIER Kevin <[email protected]>
Signed-off-by: LE SAULNIER Kevin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test & code : ok
Signed-off-by: LE SAULNIER Kevin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test & code: ok
@@ -0,0 +1,31 @@ | |||
package com.powsybl.sld.server; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license header
|
@@ -32,7 +29,7 @@ | |||
/** | |||
* @author Ben Daamer ahmed<ahmed.bendaamer at rte-france.com> | |||
*/ | |||
public class PositionDiagramLabelProvider extends DefaultLabelProvider { | |||
public class PositionDiagramLabelProvider extends CommonLabelProvider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
De we need this ? because we call svgParameters.setBusesLegendAdded(false);
when we use this PositionDiagramLabelProvider
, which will mask BusesLegend ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a big deal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review OK
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Feature
What is the current behavior?
Returned SVG legend does not contain bus id
What is the new behavior (if this is a feature change)?
Returned SVG legend does contain bus id
Does this PR introduce a breaking change or deprecate an API?