Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Load XWT content dynamically
Load XWT content dynamically [message #530994] Mon, 03 May 2010 10:01 Go to next message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
Hi all,

Is it possible to load the XWT content in memory, modify it in memory, after that, call the XWT method to generate it as GUI?

Thank you.

ps. I need that to solve the inheritance issue in XWT.
Re: Load XWT content dynamically [message #531106 is a reply to message #530994] Mon, 03 May 2010 17:27 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Yes, it is possible. Please read the thread in this newsgroup titled by
"Load XWT from a string in memory":
http://www.eclipse.org/forums/index.php?t=msg&th=164419& amp;start=0&

Best regards
Yves YANG
"s00263668" <wilsontan81@gmail.com> wrote in message
news:hrm6t9$h1$1@build.eclipse.org...
> Hi all,
>
> Is it possible to load the XWT content in memory, modify it in memory,
> after that, call the XWT method to generate it as GUI?
>
> Thank you.
>
> ps. I need that to solve the inheritance issue in XWT.
Re: Load XWT content dynamically [message #531107 is a reply to message #530994] Mon, 03 May 2010 17:36 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
In your case, there is another possibility to add a "callback" as an option
of loading. We have already CREATED_ACTION. We could add another
BEFORE_PARSING_ACTION. The class could be:
public interface BeforeParsingAction {
String preprocess(String content);
}

Best regards
Yves YANG
"s00263668" <wilsontan81@gmail.com> wrote in message
news:hrm6t9$h1$1@build.eclipse.org...
> Hi all,
>
> Is it possible to load the XWT content in memory, modify it in memory,
> after that, call the XWT method to generate it as GUI?
>
> Thank you.
>
> ps. I need that to solve the inheritance issue in XWT.
Re: Load XWT content dynamically [message #531398 is a reply to message #531107] Tue, 04 May 2010 17:47 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Here is the bug: I created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=311407

You can follow the progress and put your comments.

Best regards
Yves YANG
"Yves YANG" <yves.yang@soyatec.com> wrote in message
news:hrn1j3$7ae$1@build.eclipse.org...
> In your case, there is another possibility to add a "callback" as an
> option of loading. We have already CREATED_ACTION. We could add another
> BEFORE_PARSING_ACTION. The class could be:
> public interface BeforeParsingAction {
> String preprocess(String content);
> }
>
> Best regards
> Yves YANG
> "s00263668" <wilsontan81@gmail.com> wrote in message
> news:hrm6t9$h1$1@build.eclipse.org...
>> Hi all,
>>
>> Is it possible to load the XWT content in memory, modify it in memory,
>> after that, call the XWT method to generate it as GUI?
>>
>> Thank you.
>>
>> ps. I need that to solve the inheritance issue in XWT.
>
>
Re: Load XWT content dynamically [message #575498 is a reply to message #530994] Mon, 03 May 2010 17:27 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Yes, it is possible. Please read the thread in this newsgroup titled by
"Load XWT from a string in memory":
http://www.eclipse.org/forums/index.php?t=msg&th=164419& amp;start=0&

Best regards
Yves YANG
"s00263668" <wilsontan81@gmail.com> wrote in message
news:hrm6t9$h1$1@build.eclipse.org...
> Hi all,
>
> Is it possible to load the XWT content in memory, modify it in memory,
> after that, call the XWT method to generate it as GUI?
>
> Thank you.
>
> ps. I need that to solve the inheritance issue in XWT.
Re: Load XWT content dynamically [message #575527 is a reply to message #530994] Mon, 03 May 2010 17:36 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
In your case, there is another possibility to add a "callback" as an option
of loading. We have already CREATED_ACTION. We could add another
BEFORE_PARSING_ACTION. The class could be:
public interface BeforeParsingAction {
String preprocess(String content);
}

Best regards
Yves YANG
"s00263668" <wilsontan81@gmail.com> wrote in message
news:hrm6t9$h1$1@build.eclipse.org...
> Hi all,
>
> Is it possible to load the XWT content in memory, modify it in memory,
> after that, call the XWT method to generate it as GUI?
>
> Thank you.
>
> ps. I need that to solve the inheritance issue in XWT.
Re: Load XWT content dynamically [message #575572 is a reply to message #531107] Tue, 04 May 2010 17:47 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Here is the bug: I created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=311407

You can follow the progress and put your comments.

Best regards
Yves YANG
"Yves YANG" <yves.yang@soyatec.com> wrote in message
news:hrn1j3$7ae$1@build.eclipse.org...
> In your case, there is another possibility to add a "callback" as an
> option of loading. We have already CREATED_ACTION. We could add another
> BEFORE_PARSING_ACTION. The class could be:
> public interface BeforeParsingAction {
> String preprocess(String content);
> }
>
> Best regards
> Yves YANG
> "s00263668" <wilsontan81@gmail.com> wrote in message
> news:hrm6t9$h1$1@build.eclipse.org...
>> Hi all,
>>
>> Is it possible to load the XWT content in memory, modify it in memory,
>> after that, call the XWT method to generate it as GUI?
>>
>> Thank you.
>>
>> ps. I need that to solve the inheritance issue in XWT.
>
>
Previous Topic:XWT. How to set absolute (null) layout?
Next Topic:E4 worckbench designer on mac OSX
Goto Forum:
  


Current Time: Fri Apr 19 03:17:46 GMT 2024

Powered by FUDForum. Page generated in 0.03645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top