Package org.enhydra.jawe

Examples of org.enhydra.jawe.XPDLListenerAndObservable


    }

    protected XPDLListenerAndObservable getWorkingXPDLListenerObservable() {
        Iterator it = xpdlListenerObservables.iterator();
        while (it.hasNext()) {
            XPDLListenerAndObservable xpdl = (XPDLListenerAndObservable) it.next();
            if (xpdl.getPackage() == selectionMng.getWorkingPKG()) {
                return xpdl;
            }
        }
        return null;
    }
View Full Code Here


    }

    protected void clearXPDLListenerObservables(boolean clearTransient) {
        List retain = new ArrayList();
        for (int i = 0; i < xpdlListenerObservables.size(); i++) {
            XPDLListenerAndObservable xpdllo = (XPDLListenerAndObservable) xpdlListenerObservables.get(i);
            if (clearTransient || !xpdllo.getPackage().isTransient()) {
                xpdllo.unregisterFromXPDL();
            } else {
                retain.add(xpdllo);
            }
        }
        xpdlListenerObservables.retainAll(retain);
View Full Code Here

    }

    protected void updateTitle() {
        String title = "";
        if (getMainPackage() != null) {
            XPDLListenerAndObservable xpdllo = getXPDLListenerObservable(getMainPackage());
            if (xpdllo != null && xpdllo.isModified()) {
                title = "*";
            }
        }

        title += JaWEManager.getInstance().getName();
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.XPDLListenerAndObservable

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.