Examples of beforeDeactivate()


Examples of cli_fmw.main.ActivateSensitive.beforeDeactivate()

                if (current instanceof ActivateSensitive){
                    ActivateSensitive as = (ActivateSensitive) current;
                    if (!as.canBeActivated()){
                        throw new PageException("Текущая панель не может быть деактивирована");
                    }
                    as.beforeDeactivate();
                }
                PageGeneric page = (PageGeneric) jTabbedPane1.getComponentAt(index);
                    ActivateSensitive as = (ActivateSensitive) page;
                    if (!as.canBeActivated()){
                        throw new PageException("Выбранная панель не может быть активирована");
View Full Code Here

Examples of cli_fmw.main.ActivateSensitive.beforeDeactivate()

            return;
        }
        if (this.expenPage == page) {
            if (page instanceof ActivateSensitive) {
                ActivateSensitive as = (ActivateSensitive) page;
                as.beforeDeactivate();
            }
            if (forced || !((Persistentable)page).isDirty()) {
                panelExpen.removeAll();
                repaint();
            //this.expenPage = null;
View Full Code Here

Examples of cli_fmw.main.ActivateSensitive.beforeDeactivate()

            return;
        }
        if (this.innerPage == page) {
            if (page instanceof ActivateSensitive) {
                ActivateSensitive as = (ActivateSensitive) page;
                as.beforeDeactivate();
            }
            boolean canBeRemove = true;
            if (!forced && (page instanceof Persistentable) && (((Persistentable) page).isDirty())) {
                canBeRemove = false;
            }
View Full Code Here

Examples of cli_fmw.main.ActivateSensitive.beforeDeactivate()

    @Override
    public void removePage(PageGeneric page, boolean forced) throws PageException {
        if (page != null) {//|| (this.page != page)) {
            if (page instanceof ActivateSensitive) {
                ActivateSensitive as = (ActivateSensitive) page;
                as.beforeDeactivate();
            }
            if (collabLoc != null && collabLoc.getID() == 0) {
                pnlEditClient.removeAll();
                repaint();
                this.panel = null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.