Package fr.soleil.salsa.entity

Examples of fr.soleil.salsa.entity.IDirectory


    /**
     *
     */
    public void setDirectory(IDirectory directory) {
        IDirectory oldValue = this.baseBean.getDirectory();
        this.baseBean.setDirectory(directory);
        this.firePropertyChange("directory", oldValue, directory);
    }
View Full Code Here


    /**
     *
     */
    public void setDirectory(IDirectory directory) {
        IDirectory oldValue = this.baseBean.getDirectory();
        this.baseBean.setDirectory(directory);
        this.firePropertyChange("directory", oldValue, directory);
    }
View Full Code Here

                    // Partial mode for recording, must be manage by an external client
                    // setAttribute("dataRecorderPartialMode", false);

                    // Run name.
                    String runName = config.getName();
                    IDirectory directory = config.getDirectory();
                    while (directory != null) {
                        runName = directory.getName() + "." + runName;
                        directory = directory.getDirectory();
                    }
                    setAttribute("runName", runName);

                    // Scan number.
                    setAttribute("scanNumber", config.getScanNumber());
View Full Code Here

                toDrop = nodes;
            }
            ITreeNode realTarget = TreeNodeUtils.findDirectoryNode(target);
            if (realTarget != null) {
                target.addNodes(toDrop.toArray(new ITreeNode[toDrop.size()]));
                IDirectory directory = (IDirectory) target.getData();
                for (ITreeNode node : toDrop) {
                    if (node.getData() instanceof IEntity) {
                        ((IEntity) node.getData()).setDirectory(directory);
                    }
                }
View Full Code Here

    /**
     *
     */
    public void setDirectory(IDirectory directory) {
        IDirectory oldValue = this.baseBean.getDirectory();
        this.baseBean.setDirectory(directory);
        this.firePropertyChange("directory", oldValue, directory);
    }
View Full Code Here

                    // Partial mode for recording, must be manage by an external client
                    // setAttribute("dataRecorderPartialMode", false);

                    // Run name.
                    String runName = config.getName();
                    IDirectory directory = config.getDirectory();
                    while (directory != null) {
                        runName = directory.getName() + "." + runName;
                        directory = directory.getDirectory();
                    }
                    setAttribute("runName", runName);

                    // Scan number.
                    setAttribute("scanNumber", config.getScanNumber());
View Full Code Here

        finalizeCopy(o, result);
        return result;
    }

    public static IDirectory copyDirectoryToImpl(IDirectory d) {
        IDirectory result = (IDirectory) Map(d, DirectoryImpl.class, false);
        return result;
    }
View Full Code Here

        IDirectory result = (IDirectory) Map(d, DirectoryImpl.class, false);
        return result;
    }

    public static IDirectory copyDirectoryToModel(IDirectory d) {
        IDirectory result = (IDirectory) Map(d, DirectoryModel.class, false);
        return result;
    }
View Full Code Here

                    // Partial mode for recording.
                    setAttribute("dataRecorderPartialMode", false);

                    // Run name.
                    String runName = config.getName();
                    IDirectory directory = config.getDirectory();
                    while (directory != null) {
                        runName = directory.getName() + "." + runName;
                        directory = directory.getDirectory();
                    }
                    setAttribute("runName", runName);

                    // Scan number.
                    setAttribute("scanNumber", config.getScanNumber());
View Full Code Here

     *
     * @return a Map <configurationPath, IConfig<?>>
     */
    public static Map<String, IConfig<?>> getConfigList() {
        Map<String, IConfig<?>> configurationMap = new HashMap<String, IConfig<?>>();
        IDirectory rootDirectory = SalsaAPI.getRootDirectory();
        fillConfigurationMap(configurationMap, rootDirectory);
        return configurationMap;
    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.IDirectory

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.