JFace in VE [message #116921] |
Mon, 06 February 2006 00:06 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02640 seconds