-
Notifications
You must be signed in to change notification settings - Fork 62
[1771] Add API to customize help text on the detail view #1782
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
Conversation
24e566d to
64d60b9
Compare
64d60b9 to
bc395dc
Compare
AxelRICHARD
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.
I will fix the comments myself, rebase and merge the PR.
Thank you!
| - In diagrams, an _items_ compartment is now available on `PortDefinition` graphical nodes to display `ItemUsage`. | ||
| - In diagrams, an `ItemUsage` graphical border node is now available on `PortDefinition` graphical nodes. | ||
| - In diagrams, when creating an element from a compartment, it will not be displayed by default on the diagram, but only in the compartment. | ||
| - In the advanced property view, __isComposite__ and __isReference__ checkboxes now have a help text. |
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.
In the advanced property view, isComposite and isReference checkboxes now have a help text. => In the Advanced tab of the Details view, isComposite and isReference properties (checkboxes widgets) now have a help text.
| * @author mcharfadi | ||
| */ | ||
| @Service | ||
| public class IsCompositeIsReferenceDetailViewHelpTextProvider implements IDetailViewHelpTextProvider { |
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.
Detail => Details with an s (always)
| * | ||
| * @author mcharfadi | ||
| */ | ||
| public interface IDetailViewHelpTextProvider { |
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.
Detail => Details with an s (always)
| import org.eclipse.syson.sysml.Element; | ||
|
|
||
| /** | ||
| * Provides custom Help text for the detail view widgets. |
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.
detail => details with an s (always)
| .then(requestIsPortionHelpText) | ||
| .thenCancel() | ||
| .verify(Duration.ofSeconds(10)); | ||
|
|
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.
useless empty line
| assertThat(helpText).isEmpty(); | ||
| }; | ||
|
|
||
|
|
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.
useless empty line
| precondition.setPredicateExpression("aql:not(self.oclIsKindOf(sysml::AnnotatingElement))"); | ||
| return precondition; | ||
| } | ||
|
|
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.
useless empty line
Bug: #1771 Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
bc395dc to
6037df4
Compare
Bug: #1771
PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW
Auto review
Project management
priority:andpr:labels been added to the pull request? (In case of doubt, start with the labelspriority: lowandpr: to review later)area:,type:)Changelog and release notes
CHANGELOG.adoc+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adocbeen updated to reference the relevant issues?CHANGELOG.adoc?CHANGELOG.adoc?doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Key highlightssection indoc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc?Documentation
Tests