|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.rcp.xui.XUIEngine
public class XUIEngine
XUI Engine entrance class. This class has the init method to initialize XML UI Engine.
Also this class has open method to open a new XUI page.
Display display = Display.getDefault();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
shell.setSize(new Point(800, 500));
InitManager.reset("jar://config/btt.xml");
XUIEngine.init("jar:///config/xuiengine.xml");
IXUIView view = XUIEngine.open(shell, "jar:///config/customer.xui");
Context ctx = ContextFactory.createContext("customerCtx");
IModelAdapter adapter = new ContextModelAdapter(ctx);
view.setModel(adapter);
Constructor Summary | |
---|---|
XUIEngine()
|
Method Summary | |
---|---|
static ElementFactory |
getElementFactory()
Get current used element factory |
static java.util.Map<java.lang.String,java.lang.String> |
getGlobalSettings()
Get global settings for XML UI Engine including Font, Color, HotKey, g18n configuration. |
static void |
init(java.lang.String initialPath)
Init XUI Engine method |
static IXUIView |
open(org.eclipse.swt.widgets.Composite parent,
java.lang.String xuiPath)
Open a new XML UI page |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XUIEngine()
Method Detail |
---|
public static void init(java.lang.String initialPath)
initialPath
- the xuiengine.xml file locationpublic static IXUIView open(org.eclipse.swt.widgets.Composite parent, java.lang.String xuiPath) throws XUIInstanceException
parent
- parent composite of new XUIViewxuiPath
- xml UI path
XUIInstanceException
public static java.util.Map<java.lang.String,java.lang.String> getGlobalSettings()
public static ElementFactory getElementFactory()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |