-
Notifications
You must be signed in to change notification settings - Fork 7
[PLANPRO-5832] Signal ausleger with foundation #2047
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
base: main
Are you sure you want to change the base?
[PLANPRO-5832] Signal ausleger with foundation #2047
Conversation
...et.feature.siteplan/src/org/eclipse/set/feature/siteplan/transform/SignalTransformator.xtend
Outdated
Show resolved
Hide resolved
...et.feature.siteplan/src/org/eclipse/set/feature/siteplan/transform/SignalTransformator.xtend
Outdated
Show resolved
Hide resolved
| <circle r="10" cx="35" cy="20"/> | ||
| <circle r="10" cx="5" cy="40"/> | ||
| <toolbox:anchor id="mastAnkerTop" x="20" y="40" /> | ||
| <toolbox:anchor id="mastAnkerBottom" x="20" y="20"/> |
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.
actually the ``Vr1` haven't no anchor punkt, because the signal mast should be through between two circle
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.
I think they do, sometimes.
TruongQuangSB
left a comment
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.
pls resolve conflict with merge
...ndles/org.eclipse.set.model.siteplan/src/org/eclipse/set/model/siteplan/SignalMountType.java
Show resolved
Hide resolved
....eclipse.set.model.siteplan/src/org/eclipse/set/model/siteplan/impl/SiteplanPackageImpl.java
Show resolved
Hide resolved
| * @param label {@link Label} | ||
| */ | ||
| public abstract drawSVG<T extends object>(data: T, label?: Label): ISvgElement | ||
| public abstract drawSVG<T extends object>(data: T, label?: Label): ISvgElement | null |
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.
instead of null should it give SvgError back, when something wrong
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.
I made SvgDrawBridge an AbstractDrawSVG. Now, there are two for Signals... (SvgDrawSignal and SvgDrawBridge). Don't you think it is sensible to model it like this? Now flow is:
- SvgDrawBridge attempts to draw, if it is not a bridge, returns null
- SvgService continues searching for a result != null
- Then SvgDrawSignal returns a value != null.
- if it, too, returns null, draw error
5d06764 to
faf9daa
Compare


No description provided.