Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Variables Icon Paths

The main idea is that this is dynamic! I can remember having read your
article but maybe I missed that your solution is dynamic?

Please note that my proposal does adapt dynamically at runtime so that
e.g. the ToolItem when becoming disabled will get a different image, if
an operation is running the parts gets a different icon, ... .

Tom

On 23.01.14 09:36, Marco Descher wrote:
> Hy Tom,
> 
> I had a shot on this with a different solution:
> 
> See EclipseMagazin 2.2013 - i created a bundle adding a new URL Handler, namely icon://
> were I could use static allocations like icon://PERSON which worked out quite well! It is
> extended with a fragment, which allows for easy exchange of the complete icon set for the
> whole application.
> 
> I think this approach could be extended to create an AddOn managing all icons, allowing
> to address them icon:// style!
> 
> Thanks,
> marco
> 
> 
> An 23. Jänner 2014 at 09:27:54, Tom Schindl (tom.schindl@xxxxxxxxxxxxxxx) schrieb:
>>  
>> Hi,
>>  
>> While reading an article from Marc Teufel on an Eclipse 4 application  
>> it
>> reminded me of something I wanted to purpose since some time already  
>> (I
>> also saw a bug flying by to allow one to control the icons via CSS!).  
>>  
>> Anyways here we go. The idea is fairly simple and already known  
>> from 3.x
>> where one can use a fixed set of variables in the image paths.
>>  
>> I'd like to extend this to use all variables of the IEclipseContext  
>> so
>> one can write an image URL like this:
>>  
>> platform:/plugin/icons/${themeId}/${enabled}/img.png  
>>  
>> What do you think, does this make sense?
>>  
>> Tom
>> _______________________________________________
>> e4-dev mailing list
>> e4-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>  
> 
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev
> 



Back to the top