Package com.aesthete.csmart.schema.frames.FramesDocument.Frames

Examples of com.aesthete.csmart.schema.frames.FramesDocument.Frames.Frame


        try{
            FramesDocument framesDoc=FramesDocument.Factory.parse(new File(framesXmlFile));
            Frames frames=framesDoc.getFrames();
            Frame[] frameArray=frames.getFrameArray();
            for (int i = 0; i < frameArray.length; i++) {
                Frame frame = frameArray[i];
                frameConfigMap.put(frame.getId(),frame);
            }
        }catch(Exception e){
            throw new SwingObjectsException("error.severe.SF001",ErrorSeverity.SEVERE,
                    "Error while parsing frames.xml", e,FrameFactory.class);
        }
View Full Code Here


            frameCache.put(frameSetId,frameSetMap);
          }
            Component comp = frameSetMap.get(frameFactory);
            if(comp==null){
                try {
                  Frame frame=frameConfigMap.get(frameFactory.toString());
                    comp = (Component)getInstance(frame.getFrameClass(),objs);
                    comp.setName(frameSetId);
                    frameSetMap.put(frameFactory, comp);
                } catch (Exception ex) {
                    new SwingObjectsException("error.severe.SF001",ErrorSeverity.SEVERE,"Exception while getting frame "+frameFactory,(Exception)ex.getCause(),FrameFactory.class);
                    logger.error("Unable to obtain frame.. so exiting!",ex);
View Full Code Here

TOP

Related Classes of com.aesthete.csmart.schema.frames.FramesDocument.Frames.Frame

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.