Package ptolemy.actor.gt

Examples of ptolemy.actor.gt.DefaultDirectoryAttribute


    private class BatchMatchAction extends MatchAction {

        public BatchMatchAction() {
            super("Match Models in a Directory");

            _attribute = new DefaultDirectoryAttribute((Workspace) null);
            _attribute.directory.setBaseDirectory(URIAttribute
                    .getModelURI(getModel()));

            GUIUtilities.addIcons(this, new String[][] {
                    { "/ptolemy/vergil/gt/img/batchmatch.gif",
View Full Code Here


        private File[] _getModelFiles() {
            TransformationRule rule =
                getFrameController().getTransformationRule();
            Pattern pattern = rule.getPattern();
            DefaultDirectoryAttribute attribute = (DefaultDirectoryAttribute) pattern
                    .getAttribute("DefaultDirectory");
            File directoryFile = null;
            String fileFilter = "";
            boolean subdirs = true;
            if (attribute != null) {
View Full Code Here

TOP

Related Classes of ptolemy.actor.gt.DefaultDirectoryAttribute

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.