eas of creating a UI interface and its operation

private void BranchAddNew(ActionEvent e) {  
    UIContext uiContext = new UIContext(this);  
    uiContext.put(UIContext.ID, null);  
    uiContext.put(UIContext.OWNER, this);  
    uiContext.put("parent", editData);  
    IUIWindow uiWindow = null;  
    try {  
        uiWindow = UIFactory.createUIFactory(UIFactoryName.NEWWIN).create(BranchShowUI.class.getName(), uiContext, null, OprtState.ADDNEW);  
        uiWindow.show();  
    } catch (UIException e1) {  
        e1.printStackTrace ();  
    }  
    } 

Guess you like

Origin www.cnblogs.com/luojiabao/p/10963789.html
EAS