Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] Vex - What is the intension of StyleSheet.source/Rule.source?

Hi Dave, hi Holger,

thank you for your investigations. I opened

https://bugs.eclipse.org/bugs/show_bug.cgi?id=303109

and attached a possible patch...

Florian

Am 16.02.2010 20:12, schrieb Holger Voormann:
Hi Dave, hi Florian,

I have no idea:
Regarding "StlyeSheetReader.setSource" the pre-Eclipse/SourceForge code
is equal to the current Eclipse code. I also haven't found any hint in
the Vex SourceForge bug list
(http://krasnay.ca/bugzilla/vex-bugs-2007-03-10.html).

Maybe it's an unknown incomplete feature or has been left over by the
first simple implementation to switch between stylesheets. However,
today it's dead code.
+1 for deleting dead code

Holger

Holger, do yu have an idea if multiple StyleSheets or Rules can be
combined with Vex?

Dave

On 02/15/2010 01:18 AM, Florian Thienel wrote:
What is the intension of StyleSheet.source/Rule.source?

Sure, it is the source of the stylesheet (that's what the javadoc
says). And it is used to calculate the weight of property
declarations. Which means there must be a way to mix multiple
stylesheets from different sources. How can I do this?

I found only one occurrence of StlyeSheetReader.setSource in
RuleTest.java, which is not very meaningful for me.

~Florian
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev


Back to the top