Generating the jars?
"add bundles com.codeaffine.eclipse.swt.jar and com.codeaffine.eclipse.ui.swt.theme.jar to your target platform and to your products feature.xml"
I have generated a jar file with all classes from the all packages when I run my old scrollbars are gone but nothing is in its place. Any ideas what is going wrong?
Thanks for checking out the flat scrollbars. What RCP Platform version are you using? Did you declare your own theme and add the flat-scrollbar to the css as described in the Readme document?
I did. I cloned the git repository and created a single jar file consisting of all plug-ins except the test associated ones. Added the css to my themed file and nothing changed. I was however able to get it semi working by changing places where I previously instantiated trees and created adapters like this website stated. http://www.codeaffine.com/2014/12/17/sacrilege-custom-swt-scrollbar/
But it seems buggy. I can send you a screenshot of what I got later if need be.
Getting back on point here. Following your two step instructions did not work for me.
On Jul 15, 2017 1:03 AM, "Frank Appel" [email protected] wrote:
Thanks for checking out the flat scrollbars. What RCP Platform version are you using? Did you declare your own theme and add the flat-scrollbar to the css as described in the Readme document?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315510199, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka5epO3bYWTcf0l7SvEVa1L6-OrgFks5sOEgggaJpZM4OYq7i .
Mars for the version.
On Jul 15, 2017 1:03 AM, "Frank Appel" [email protected] wrote:
Thanks for checking out the flat scrollbars. What RCP Platform version are you using? Did you declare your own theme and add the flat-scrollbar to the css as described in the Readme document?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315510199, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka5epO3bYWTcf0l7SvEVa1L6-OrgFks5sOEgggaJpZM4OYq7i .
What I don't get is why your create a single jar instead using the one provided by the repository? I wouldn't expect this to work since this probably mixes up the meta informations needed for a proper plug-in/bundle to work.
I couldn't find the two jars in the repo. Where are they?
On Jul 15, 2017 2:16 AM, "Frank Appel" [email protected] wrote:
What I don't get is why your create a single jar instead using the one provided by the repository? I wouldn't expect this to work since this probably mixes up the meta informations needed for a proper plug-in/bundle to work.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315513248, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka1DUjfIbgcf3QQ8ju50HaVfpwJF_ks5sOFkygaJpZM4OYq7i .
With repository I meant the p2 repository at http://fappel.github.io/xiliary/. You can use the Eclipse target editor for example (http://www.vogella.com/tutorials/EclipseTargetPlatform/article.html) to retrieve the necessary plug-ins for development.
I tried that. Did nit see anything that resembled jars.
On Jul 15, 2017 9:47 AM, "Frank Appel" [email protected] wrote:
With repository I meant the p2 repository at http://fappel.github.io/ xiliary/. You can use the Eclipse target editor for example ( http://www.vogella.com/tutorials/EclipseTargetPlatform/article.html) to retrieve the necessary plug-ins for development.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315534998, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka4zlOQ6Kixj7BH_AhcFTdwenbwp6ks5sOMLagaJpZM4OYq7i .
Usually, there is no need to explicitly handle the jars as this is automatically done by the underlying dependency management of the platform. However, you should be able to check the "show content" flag on in the editor. This should show the plug-ins under the xiliary theme feature.
Okay thanks. I will attempt this again't come Monday morning.
On Jul 15, 2017 10:03 AM, "Frank Appel" [email protected] wrote:
Usually, there is no need to explicitly handle the jars as this is automatically done by the underlying dependency management of the platform. However, you should be able to check the "show content" flag on in the editor. This should show the plug-ins under the xiliary theme feature.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315536038, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka_2rnhx5xdJJ_C6FKOemcxD0V03pks5sOMakgaJpZM4OYq7i .
Does this have to been don in conjunction with instantiating FlatScrollBarTable, FlatScrollBarTree, etc? Still not able to get it working with the css.
On Sat, Jul 15, 2017 at 10:37 AM, Brian Ingle [email protected] wrote:
Okay thanks. I will attempt this again't come Monday morning.
On Jul 15, 2017 10:03 AM, "Frank Appel" [email protected] wrote:
Usually, there is no need to explicitly handle the jars as this is automatically done by the underlying dependency management of the platform. However, you should be able to check the "show content" flag on in the editor. This should show the plug-ins under the xiliary theme feature.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fappel/xiliary/issues/81#issuecomment-315536038, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4ka_2rnhx5xdJJ_C6FKOemcxD0V03pks5sOMakgaJpZM4OYq7i .
-- Brian Ingle
Well, not sure if I understand the problem. I guess you want to define an own or contribute to an existing Eclipse theme. You might have a look at http://www.vogella.com/tutorials/Eclipse4CSS/article.html#styling-using-themes on how theme basics work. Once you have your theme definition (or extension) you ensure that the above-mentioned dependencies are fulfilled and the CSS entries for tables, trees, and styled-text are included as explained in the readme file. You can also have a look at the xiliary theme plug-in how this is done. With this in place, you should be able to select your theme in the preference page (Appearance) once you have started your RCP application. Hope this helps a bit.