Hi Awanthika,

Thanks a lot. I'll try this out.

Thanks.

On Mon, Jun 13, 2016 at 3:11 PM, Awanthika Senarath <awanth...@wso2.com>
wrote:

> Hello Heshitha,
>
> You can add your own preference page to change text colors and sizes from
> eclipse preferences and retrieve these values on Java side. There are
> enough samples on this in the kernel at [1].
>
> You will have to introduce a method in the java code to read these
> preferences and make them available in the web side for it to be available
> through the web <->Java bridge we have created.
>
> Then you will have to look into a way to change these CSS values from java
> script code, which I believe is not that hard.
>
> @ Kavith, WDYT? is there any other approach OR a possibility for us to
> make this available through the framework?
>
>
> [1]
> https://github.com/wso2/developer-studio/tree/master/plugins/org.wso2.developerstudio.eclipse.platform.ui/src/org/wso2/developerstudio/eclipse/platform/ui/preferences
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Senior Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Mon, Jun 13, 2016 at 2:58 PM, Heshitha Hettihewa <heshit...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Is there any possibility of providing the ability of editing Web UI
>> Editor's CSS styles such as font size and font colors from eclipse
>> preferences?. If not what is the best approach to do such thing?. As an
>> example if user needs to change the font size of the web editor's fonts
>> what is the preferred method to do so. Is it ok if a web UI based method
>> added inside the editor itself to change the preferences?.
>>
>> Thanks.
>> --
>> Heshitha Hettihewa
>> *Software Engineer*
>> Mobile : +94716866386
>> <%2B94%20%280%29%20773%20451194>
>> heshit...@wso2.com
>>
>
>


-- 
Heshitha Hettihewa
*Software Engineer*
Mobile : +94716866386
<%2B94%20%280%29%20773%20451194>
heshit...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to