Package datasoul.serviceitems

Examples of datasoul.serviceitems.VideoServiceItem


                } else if (nodeList.item(i).getNodeName().equals("AttachmentServiceItem")) {
                    AttachmentServiceItem asi = new AttachmentServiceItem();
                    asi.readObject(nodeList.item(i), zip);
                    this.addItem(asi);
                } else if (nodeList.item(i).getNodeName().equals("VideoServiceItem")) {
                    VideoServiceItem vsi = new VideoServiceItem();
                    vsi.readObject(nodeList.item(i), zip);
                    this.addItem(vsi);
                } else if (nodeList.item(i).getNodeName().equals("ImageListServiceItem")) {
                    ImageListServiceItem ilsi = new ImageListServiceItem();
                    ilsi.readObject(nodeList.item(i), zip);
                    this.addItem(ilsi);
View Full Code Here


        JFileChooser fc = new JFileChooser();
        if (fc.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
            boolean isLink = GenericAttachmentServiceItem.askForLink();
            try {
                ObjectManager.getInstance().setBusyCursor();
                VideoServiceItem asi = new VideoServiceItem(fc.getSelectedFile(), isLink);
                ServiceListTable.getActiveInstance().addItem(asi);
            } catch (IOException ex) {
                JOptionPane.showMessageDialog(ObjectManager.getInstance().getDatasoulMainForm(),
                        java.util.ResourceBundle.getBundle("datasoul/internationalize").getString("ERROR ATTACHING FILE:") + " " + fc.getSelectedFile().getName() + "\n" + ex.getLocalizedMessage());
            } finally {
View Full Code Here

TOP

Related Classes of datasoul.serviceitems.VideoServiceItem

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.