Examples of Designer


Examples of edu.brown.designer.Designer

        super.setUp(ProjectType.TM1, true);
       
        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new TimeIntervalCostModel<SingleSitedCostModel>(catalogContext, SingleSitedCostModel.class, info.getNumIntervals()));
        this.info.setPartitionerClass(LNSPartitioner.class);
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (LNSPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
    }
View Full Code Here

Examples of edu.brown.designer.Designer

        hints.weight_costmodel_multipartition_penalty = 100.0d;
        hints.relaxation_min_size = clone_db.getTables().size();
        hints.limit_local_time = 30;
        hints.limit_total_time = 30;
       
        designer = new Designer(info, hints, info.getArgs());
        LNSPartitioner partitioner = (LNSPartitioner)designer.getPartitioner();
        assertEquals(clone_db, partitioner.info.catalogContext.database);

        // 2012-07-20: This is broken for some reason....
        // PartitionPlan pplan = partitioner.generate(hints);
View Full Code Here

Examples of edu.brown.designer.Designer

        hints.proc_exclude.add("ResetWarehouse");
//        hints.proc_whitelist.add("neworder");
//        hints.proc_whitelist.add("delivery");
//        hints.proc_include.add("slev");
        try {
            this.designer = new Designer(info, hints, this.args);
        } catch (Exception ex) {
            ex.printStackTrace();
            this.showErrorDialog("Unable to Execute Designer", ex.getMessage());
            return;
        }
View Full Code Here

Examples of jimm.datavision.gui.Designer

* this report; may be <code>null</code>.
*
* @return a <code>Frame</code>; may be <code>null</code>
*/
protected Frame getDesignFrame() {
    Designer d = Designer.findWindowFor(this);
    return d == null ? null : d.getFrame();
}
View Full Code Here

Examples of se.kth.speech.skatta.designer.Designer

            /* m =*/
            new Merger();//If we do not need to refer to it, it needs no name.
            //cmf.addWindowListener(this);
            //setVisible(false);
        } else if (e.getSource() == createButton) {
            new Designer().addWindowListener(this);
            /*FormHolder f = new FormHolder();
                CreateMenuForm cmf = new CreateMenuForm(f);
                cmf.addWindowListener(this);*/
            setVisible(false);
        } else if (e.getSource() == runButton) {

            TestPlayer player = null;
            try {
                JFileChooser theChooser1 = new JFileChooser();
                int returnVal = theChooser1.showOpenDialog(this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    player = new TestPlayer(theChooser1.getSelectedFile());
                    player.addWindowListener(this);
                    setVisible(false);
                }
            }
            catch (Exception ex) {
                String outMessage = ex.getMessage();
                if (ex instanceof IndexOutOfBoundsException) {
                    outMessage = "Index out of bounds exception. Check the test file. " + outMessage;
                }
                if (ex instanceof NullPointerException) {
                    outMessage = "Null pointer exception. Check the test file. " + outMessage;
                }

                if (ex instanceof org.xml.sax.SAXException) {
                    outMessage = "Reading failed: " + outMessage;
                }
                if (ex instanceof ParserConfigurationException) {
                    outMessage = "Preparing for reading failed: " + outMessage;
                }
                if (ex instanceof ClassCastException) {
                    outMessage = "Class cast failed: " + outMessage;
                }
                if (ex instanceof TestException) {
                    outMessage = "Something is wrong with the test: " + outMessage;
                }
                if (player != null) player.dispose();
                requestFocus();
                JOptionPane.showMessageDialog(this, outMessage);
            }

        } else if (e.getSource() == editButton) {
            try {
                JFileChooser theChooser = new JFileChooser();
                int returnVal = theChooser.showOpenDialog(this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    new Designer(theChooser.getSelectedFile().toURI().toURL()).addWindowListener(this);
                    setVisible(false);
                }
            } catch (Exception ex) {
                String outMessage = ex.getMessage();
                if (ex instanceof NullPointerException) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.