Package de.innovationgate.wgpublisher.design.fs

Examples of de.innovationgate.wgpublisher.design.fs.TMLMetadata


        // Check if file has been deleted in the meantime
        if (!getCodeFile().exists()) {
            return;
        }
       
        TMLMetadata metaData = (TMLMetadata) readMetaData();
        String code = readCode(metaData);
       
       
        WGTMLModule mod = (WGTMLModule) db.getDocumentByDocumentKey(getDocumentKey());
        if (mod == null) {
            WGDocumentKey key = new WGDocumentKey(getDocumentKey());
            mod = db.createTMLModule(key.getName(), key.getMediakey());
        }
        mod.setCode(code);
        metaData.writeToDocument(mod);
        doSaveDocument(mod);
       
        resetUpdateInformation();

    }
View Full Code Here


        resetUpdateInformation();

    }

    protected DesignMetadata createDefaultMetadata() throws InstantiationException, IllegalAccessException {
        TMLMetadata md = (TMLMetadata) super.createDefaultMetadata();
        md.setDirectAccess(_parent.getManager().isDirectAccessDefault());
        return md;
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.wgpublisher.design.fs.TMLMetadata

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.