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

Open the NebulaSlider to allow user extension #550

Closed
jdumont-a4t opened this issue Jan 22, 2024 · 3 comments
Closed

Open the NebulaSlider to allow user extension #550

jdumont-a4t opened this issue Jan 22, 2024 · 3 comments
Milestone

Comments

@jdumont-a4t
Copy link

Hi,

We want to use the NebulaSlider component in one of our projects, but we'll need to modify its style so that it integrates with our Eclipse RCP application. At the moment, this isn't possible because the member variables are 'private final' and the methods for drawing the component are in 'private' too.

Would it be possible to allow the customisation of the slider by opening the elements with specific methods, or by allowing them to be overridden by inheritance by passing them as protected?

Thanks for your feedback.

@lcaron lcaron added this to the 3.1.1 milestone Jan 22, 2024
lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
renderer that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
…Slider_to_allow_user_extension

Bug #550 - Open the NebulaSlider to allow user extension
@lcaron
Copy link
Contributor

lcaron commented Jan 22, 2024

The graphical information are now handled by a renderer that could be customized

image

Please check the example located at : https://github.com/eclipse/nebula/blob/master/widgets/nebulaslider/org.eclipse.nebula.widgets.nebulaslider.snippets/src/org/eclipse/nebula/widgets/opal/nebulaslider/snippets/NebulaSliderSnippetOtherRenderer.java

Hope you'll enjoy ;)

@lcaron lcaron closed this as completed Jan 22, 2024
lcaron pushed a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
@lcaron
Copy link
Contributor

lcaron commented Jan 22, 2024

It's not a renderer, it is a "graphic configuration"

lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
All graphical information (sizes, colors, font) are now handled by a
configuration that can be customized.
lcaron added a commit that referenced this issue Jan 22, 2024
…Slider_to_allow_user_extension_refactor

Bug #550 - Open the NebulaSlider to allow user extension
@jdumont-a4t
Copy link
Author

Thanks a lot for your help, it seems that it will answer to my needs.
I can't wait to deploy the new version !

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

No branches or pull requests

2 participants