Skip to content

[3] Do not disable scrollable widgets when not editable#5

Open
peransin-obeo wants to merge 1 commit into
eclipse-eef:masterfrom
peransin-obeo:dev/scrollableReadonly
Open

[3] Do not disable scrollable widgets when not editable#5
peransin-obeo wants to merge 1 commit into
eclipse-eef:masterfrom
peransin-obeo:dev/scrollableReadonly

Conversation

@peransin-obeo
Copy link
Copy Markdown
Contributor

Not editable widget must not be disabled.
Disable widget cannot be scrolled.
User should be able to read and copy the content.
Actions must still be driven by "is Enabled Expression".

#3

How to test

  • Create a modeling Project with following VSM et Ecore model sample:
    test_resources.zip

  • Select a EClass from Model explorer.

  • Some widgets are read-only state.

  • Expected: read-only texts and lists can be scrollable.

  • Expected: no popup dialog when selecting item of read-only lists but a dialog popup when selecting item of editable lists

  • Expected: read-only widgets have a different background from editable widgets.

Not editable widget must not be disabled.
Disable widget cannot be scrolled.
User should be able to read and copy the content.
Actions must still be driven by "is Enabled Expression".

eclipse-eef#3
Change-Id: I46b47a1ade5b3472191e619f07aa1c4db93adaa9
Signed-off-by: Nicolas Peransin <nicolas.peransin@obeo.fr>
@peransin-obeo peransin-obeo force-pushed the dev/scrollableReadonly branch from 61b76b3 to 7b89c5d Compare May 26, 2026 13:05
h4. Specifier-Visible Changes

* <span class="label label-info">Modified</span> The dynamic mappings will take into account all the "if" blocks with a valid predicate expression and not only the first one.
* <span class="label label-info">Modified</span> The dynamic mappings will take into account all the «if» blocks with a valid predicate expression and not only the first one.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this change voluntary? Not sure it is "safe" in terms of potential encoding issues.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

in version version, Textile-to-html in mylyn was changing " into «. (at least into the html code &#171; )
But last version (at least 2025/09) does not do it any more.
However most browser render '«' directly now.
So to keep the same text for user, I changed the textile text.

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.

2 participants