Package cli_fmw.main

Examples of cli_fmw.main.ActivateSensitive


                        } catch (ClipsException ex) {
                            throw new PageException("Страница не может быть закрыта: ",ex);
                        }
                    }
                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("Выбранная панель не может быть активирована");
                    }
                    as.beforeActivate();
                }
            }

            @Override
            public void chooseDone() {
View Full Code Here


        if (page == null) {
            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

        if (page == null) {
            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

     */
    @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

Related Classes of cli_fmw.main.ActivateSensitive

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.