Closed eselmeister closed 3 years ago
@eselmeister Sir, do the buttons(DELETE,Export,Reset,Import) need to be put inside the setting mappings UI beside the Ok and Exit button or it should be aligned with extended legend buttons?
Hi Tanmay,
please place them inside the "Setting Mappings" dialog right aligned on top of the list "ID, Description". Use the code snippet as a hint:
Composite composite = new Composite(parent, SWT.NONE); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.horizontalAlignment = SWT.END; composite.setLayoutData(gridData); composite.setLayout(new GridLayout(2, false)); ... create Button ... create Button
Best, Philip
Am 01.03.21 um 18:17 schrieb Tanmay Raikwar:
Do the buttons(DELETE,Export,Reset,Import) needs to be put inside the setting mappings UI beside the Ok and Exit button or it should be aligned with extended legend buttons?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/swtchart/issues/235#issuecomment-788120497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHUT2XIPJGTGBQ3PS62XDTBPD2JANCNFSM4T5UAPZA.
--
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@openchrom.net » http://www.openchrom.net
@eselmeister Sir, I am stuck. I am unable to create any changes/or create a button inside the "Setting Mappings" dialog. And even if I create a button it gets placed in extended legend. Could you please help me?
Tanmay,
try harder to find a solution :-).
Best, Philip
Am 06.03.21 um 09:42 schrieb Tanmay Raikwar:
@eselmeister https://github.com/eselmeister Sir, I am stuck. I am unable to create any changes/or create a button inside the "Setting Mappings" dialog. And even if I create a button it gets placed in extended legend. Could you please help me?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eclipse/swtchart/issues/235#issuecomment-791896886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHUT3EHNCZ7CYYO3CDZZ3TCHTHJANCNFSM4T5UAPZA.
--
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@openchrom.net » http://www.openchrom.net
Tanmay, try harder to find a solution :-). Best, Philip Am 06.03.21 um 09:42 schrieb Tanmay Raikwar: … @eselmeister https://github.com/eselmeister Sir, I am stuck. I am unable to create any changes/or create a button inside the "Setting Mappings" dialog. And even if I create a button it gets placed in extended legend. Could you please help me? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#235 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHUT3EHNCZ7CYYO3CDZZ3TCHTHJANCNFSM4T5UAPZA. --
~~~~~~ OpenChrom - the open source alternative for chromatography / mass spectrometry Dr. Philip Wenig » Founder » philip.wenig@openchrom.net » http://www.openchrom.net ~~~~~~ Update: Successfully created a button inside the Mapping Setting dialog.
A refresh is required when the mapped settings are deleted. Importing settings automatically tries to match the settings.
Please note, the settings ids might change in the future. Hence, the settings export/import is intended to be used in a short period of time.
I have an idea how to enable the reset functionality without hassles.
This is a complex issue :-). I have recognized, that the export dialog changes the settings too. The export shall only change the series settings temporarily.
The mappings dialog has been modified. It's possible to reset selected and all mappings. It will replace the changes by the defaults. Remove all clears the mappings as well as the defaults. The next time, a change is made to the settings, a new default is created.
The export option works fine now.
Though this issue was a bit more complex than anticipated, many issues needed for the following issue have been implemented yet: https://github.com/eclipse/swtchart/issues/236
It would be nice to edit the mappings, e.g.