Package org.enhydra.jawe.base.editor

Examples of org.enhydra.jawe.base.editor.XPDLElementEditor


            Designer.APP_ID = "";
            Designer.APP_VERSION = "";

            //pop up properties
            XPDLElementEditor ed = JaWEManager.getInstance().getXPDLElementEditor();
            ed.editXPDLElement(jc.getSelectionManager().getWorkingPKG());
        }
    }
View Full Code Here


            JaWEController jc = JaWEManager.getInstance().getJaWEController();
            if (jc.tryToClosePackage(jc.getMainPackageId(), false)) {
                //create new package
                jc.newPackage(jc.getJaWETypes().getDefaultType(Package.class));
                //pop up properties
                XPDLElementEditor ed = JaWEManager.getInstance().getXPDLElementEditor();
                ed.editXPDLElement(jc.getSelectionManager().getWorkingPKG());
            }
        }

    }
View Full Code Here

            close = true;
        }

        if (close) {
            if (jawecomponent instanceof XPDLElementEditor) {
                XPDLElementEditor editor = ((XPDLElementEditor) jawecomponent);
                editor.close();
            } else if (el instanceof XMLCollectionElement) {
                ((NewStandardXPDLElementEditor) jawecomponent).editXPDLElement(((XMLCollectionElement) el).getParent().getParent());
            }
        }
    }
View Full Code Here

        ipc.setModified(false);

        //CUSTOM
        if(jawecomponent instanceof XPDLElementEditor) {
            XPDLElementEditor editor = ((XPDLElementEditor) jawecomponent);
            editor.close();
        } else if(el instanceof XMLCollectionElement) {
            ((NewStandardXPDLElementEditor)jawecomponent).editXPDLElement(((XMLCollectionElement)el).getParent().getParent());
        }
        //END CUSTOM
    }
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.base.editor.XPDLElementEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.