Package cli_fmw.main

Examples of cli_fmw.main.UserPanel


      
    public TableModelArmPanels(ArmLocal arm) throws ClipsException {
        allPanels = new ArrayList<UserPanel>();
        Enumeration e = UserPanel.elements();
        while (e.hasMoreElements()) {
            UserPanel right = (UserPanel) e.nextElement();
            allPanels.add(right);
        }
        if(arm != null){
            armLocal = arm;
            armPanels = armLocal.getPanels();
View Full Code Here


    @Override
    public void setValueAt(Object obj, int row, int col) {// изменение таблицы       
        if(col == COLUMN_CHECKS){
            Boolean set = (Boolean) obj;
            UserPanel r = allPanels.get(row);
           
            if(set){
                armPanels.add(r);
            }else
                armPanels.remove(r);
View Full Code Here

            initCrypto();
            Iterator<String> ri = getBean().getPanelList().iterator();
            Set<UserPanel> rs = new HashSet<UserPanel>();
            while (ri.hasNext()) {
                try {
                    UserPanel up = UserPanel.getPanel(ri.next());
          if (up != null) {
            rs.add(up);
          }
                } catch (ClipsException ex) {
                    MessageBox.showExceptionOnly(ex);
View Full Code Here

        @Override
        protected void saveDB() throws Exception {
            Set<String> si = new HashSet<String>();
            Iterator<UserPanel> it = get().iterator();
            while (it.hasNext()) {
                UserPanel userPanel = it.next();
                si.add(userPanel.getClassName());
            }
            ModificationInfo mi = getBean().setPanelList(si);
            auditDetailsList.addAll(mi.getAudit());
            fireAuditEvent();
        }
View Full Code Here

        if(!panels.inCache()) {
            try {
                Iterator<String> ri = bean().getPanelList(arm.getID()).iterator();
                Set<UserPanel> rs = new HashSet<UserPanel>();
                while (ri.hasNext()) {
                    UserPanel up = UserPanel.getPanel(ri.next());
          if (up != null) {
            rs.add(up);
          }
                }
                panels.set(rs);
View Full Code Here

        if(panels.inCache()) {
            try {
                Set<String> si = new HashSet<String>();
                Iterator<UserPanel> it = panels.get().iterator();
                while (it.hasNext()) {
                    UserPanel userPanels = it.next();
                    si.add(userPanels.getClassName());
                }
                bean().setPanelList(arm.getID(), si);
                panels.commit();
            } catch (Exception ex) {
                clearBean();
View Full Code Here

   
    public TableModelUserPanels(CollaboratorLocalAbstract collaborator) throws ClipsException {
        allPanels = new ArrayList<UserPanel>();
        Enumeration e = UserPanel.elements();
        while (e.hasMoreElements()) {
            UserPanel panel = (UserPanel) e.nextElement();
            allPanels.add(panel);
        }
        if(collaborator != null){
            collabLoc = collaborator;
            userPanels = collabLoc.getPanels();
View Full Code Here

    @Override
    public void setValueAt(Object obj, int row, int col) {// изменение таблицы       
        if(col == COLUMN_CHECKS){
            Boolean set = (Boolean) obj;
            UserPanel r = allPanels.get(row);
           
            if(set){
                userPanels.add(r);
            }else
                userPanels.remove(r);
View Full Code Here

TOP

Related Classes of cli_fmw.main.UserPanel

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.