Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » JFace in VE
JFace in VE [message #116921] Mon, 06 February 2006 00:06 Go to next message
Eclipse UserFriend
Originally posted by: peter.chajn.de

Hi,
is it possible to render this window in VE?

public class JFaceMain extends ApplicationWindow {
public JFaceMain(){
super(null);
}
public static void main(String[] args) {
JFaceMain window = new JFaceMain();
window.setBlockOnOpen(true);
window.open();
Display.getCurrent().dispose();
}
}

If not, how do you solve the problem when you want to use jface(windows,
actions) but draw the GUI in VE.

Thank you
Re: JFace in VE [message #117050 is a reply to message #116921] Mon, 06 February 2006 19:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It doesn't support it directly at this time. About the best you can do
is to create a subclass of Composite, build up the gui in there and then
use that as the composite within the JFaceMain.createContents(parent)
method.

Peter wrote:
> Hi,
> is it possible to render this window in VE?
>
> public class JFaceMain extends ApplicationWindow {
> public JFaceMain(){
> super(null);
> }
> public static void main(String[] args) {
> JFaceMain window = new JFaceMain();
> window.setBlockOnOpen(true);
> window.open();
> Display.getCurrent().dispose();
> }
> }
>
> If not, how do you solve the problem when you want to use jface(windows,
> actions) but draw the GUI in VE.
>
> Thank you
>

--
Thanks,
Rich Kulp
Re: JFace in VE [message #611976 is a reply to message #116921] Mon, 06 February 2006 19:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It doesn't support it directly at this time. About the best you can do
is to create a subclass of Composite, build up the gui in there and then
use that as the composite within the JFaceMain.createContents(parent)
method.

Peter wrote:
> Hi,
> is it possible to render this window in VE?
>
> public class JFaceMain extends ApplicationWindow {
> public JFaceMain(){
> super(null);
> }
> public static void main(String[] args) {
> JFaceMain window = new JFaceMain();
> window.setBlockOnOpen(true);
> window.open();
> Display.getCurrent().dispose();
> }
> }
>
> If not, how do you solve the problem when you want to use jface(windows,
> actions) but draw the GUI in VE.
>
> Thank you
>

--
Thanks,
Rich Kulp
Previous Topic:empty palette because of npe
Next Topic:Installing VE in WTP 3.1 Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 20:29:28 GMT 2024

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

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

Back to the top