My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
JFace  
Updated Feb 4, 2010 by james.st...@gmail.com

UFace supports Eclipse based JFace and SWT APIs for making Eclipse plugins or Eclipse Rich Clients via the RCP.

UIComposite

To be able to create widgets with UFace you need to get a UIComposite to represent the Panel you are gonna add widgets to. You can see this in action in the examples in the org.ufacekit.ui.jface test area.

You can create a UIComposite as follows in your JFace application.

Shell shell = new Shell();
shell.setLayout(new FillLayout());
UIComposite root = new SWTComposite(shell);

// now I can create some UI components
UIFactory factory = root.getFactory();
factory.createTable(root, ...);

Sign in to add a comment
Powered by Google Project Hosting