Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Load XWT content dynamically
Load XWT content dynamically [message #530994] Mon, 03 May 2010 06:01 Go to next message
Eclipse UserFriend
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 13:27 Go to previous messageGo to next message
Eclipse UserFriend
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 13:36 Go to previous messageGo to next message
Eclipse UserFriend
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 13:47 Go to previous message
Eclipse UserFriend
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 13:27 Go to previous message
Eclipse UserFriend
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 13:36 Go to previous message
Eclipse UserFriend
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 13:47 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 00:43:44 EDT 2025

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

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

Back to the top