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

Generating the jars? #81

Open
bingle87 opened this issue Jul 14, 2017 · 11 comments
Open

Generating the jars? #81

bingle87 opened this issue Jul 14, 2017 · 11 comments

Comments

@bingle87
Copy link

"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?

@fappel
Copy link
Owner

fappel commented Jul 15, 2017

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?

@bingle87
Copy link
Author

bingle87 commented Jul 15, 2017 via email

@bingle87
Copy link
Author

bingle87 commented Jul 15, 2017 via email

@fappel
Copy link
Owner

fappel commented Jul 15, 2017

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.

@bingle87
Copy link
Author

bingle87 commented Jul 15, 2017 via email

@fappel
Copy link
Owner

fappel commented Jul 15, 2017

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.

@bingle87
Copy link
Author

bingle87 commented Jul 15, 2017 via email

@fappel
Copy link
Owner

fappel commented Jul 15, 2017

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.

@bingle87
Copy link
Author

bingle87 commented Jul 15, 2017 via email

@bingle87
Copy link
Author

bingle87 commented Jul 17, 2017 via email

@fappel
Copy link
Owner

fappel commented Jul 18, 2017

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.

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