Enhancement for Browser widget [message #20302] |
Thu, 26 April 2007 02:36  |
Eclipse User |
|
|
|
Originally posted by: roberto.sanchez.autonomind.com
Hello, I'm thinking about to add a Enhancement request in bugzilla
related to Browser widget, but before I would like to know your oppinion:
1) Add a new method to load resources from system, that is, something
like "setResourceContent(String path)" or "setFile(File file)" (or
both), now if I need to load a file in Browser I have to read and
convert it to String and with "setText" load it in Browser.
Regards.
Roberto
|
|
|
Re: Enhancement for Browser widget [message #20352 is a reply to message #20302] |
Thu, 26 April 2007 10:13   |
Eclipse User |
|
|
|
Originally posted by: roberto.sanchez.autonomind.com
As I said in another post I would like to add another feature/enhancement:
1) Add a new method to load resources from system, that is, something
like "setResourceContent(String path)" or "setFile(File file)" (or
both), now if I need to load a file in Browser I have to read and
convert it to String and with "setText" load it in Browser.
2) A method setCharset(String charset) in Browser widget or another
method as: setText(String text, String charset)
Roberto Sánchez wrote:
> Hello, I'm thinking about to add a Enhancement request in bugzilla
> related to Browser widget, but before I would like to know your oppinion:
>
> 1) Add a new method to load resources from system, that is, something
> like "setResourceContent(String path)" or "setFile(File file)" (or
> both), now if I need to load a file in Browser I have to read and
> convert it to String and with "setText" load it in Browser.
>
> Regards.
> Roberto
|
|
|
Re: Enhancement for Browser widget [message #20394 is a reply to message #20352] |
Fri, 27 April 2007 09:23  |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Roberto,
RAP and therefore RWT as a part of it implements a strict subset of RCP.
Since the RWT counterpart SWT, does not provide those methods, RWT won't
have them as well.
As You mentioned, there is no missing functionality but the methods are
rather for convenience and can be easily implemented elsewhere, e.g. in
a utility class.
Cheers
Rüdiger
Roberto Sánchez wrote:
> As I said in another post I would like to add another feature/enhancement:
>
> 1) Add a new method to load resources from system, that is, something
> like "setResourceContent(String path)" or "setFile(File file)" (or
> both), now if I need to load a file in Browser I have to read and
> convert it to String and with "setText" load it in Browser.
>
> 2) A method setCharset(String charset) in Browser widget or another
> method as: setText(String text, String charset)
>
>
> Roberto Sánchez wrote:
>> Hello, I'm thinking about to add a Enhancement request in bugzilla
>> related to Browser widget, but before I would like to know your oppinion:
>>
>> 1) Add a new method to load resources from system, that is, something
>> like "setResourceContent(String path)" or "setFile(File file)" (or
>> both), now if I need to load a file in Browser I have to read and
>> convert it to String and with "setText" load it in Browser.
>>
>> Regards.
>> Roberto
|
|
|
Powered by
FUDForum. Page generated in 0.06586 seconds