Package au.edu.qut.yawl.swingWorklist

Examples of au.edu.qut.yawl.swingWorklist.YWorklistTableModel


        _inspectStateButton = new JButton(_inspectStateCommand);
        _inspectStateButton.setBackground(new Color(150, 150, 255));
        _inspectStateButton.addActionListener(this);
        splash.setProgress(10);
        _loadedSpecificationsTableModel =
                new YWorklistTableModel(new String[]{"SpecificationID", "Root Net Name"});
        _loadedSpecificationsTable = new JTable(_loadedSpecificationsTableModel);
        JPanel loadedWorkflowsPanel = new JPanel(new BorderLayout());
        loadedWorkflowsPanel.setBackground(_apiColour);
        loadedWorkflowsPanel.setBorder(
                BorderFactory.createCompoundBorder(
                        BorderFactory.createTitledBorder(
                                BorderFactory.createEtchedBorder(),
                                "Loaded Workflows"),
                        BorderFactory.createEmptyBorder(10, 10, 10, 10)));
        JScrollPane scrollPane = new JScrollPane(_loadedSpecificationsTable);
        scrollPane.setPreferredSize(new Dimension(400, 100));
        scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        loadedWorkflowsPanel.add(scrollPane, BorderLayout.CENTER);
        JPanel buttonPanel = new JPanel(new GridLayout(1, 4));
        buttonPanel.setBackground(_apiColour);
        buttonPanel.add(_loadWorkFlowButton);
        buttonPanel.add(_startCaseButton);
        buttonPanel.add(_exportToXMLButton);
//        _ignoreErrorsCheckBox = new JCheckBox("Ignore Errors");
//        _ignoreErrorsCheckBox.addItemListener(this);
//        _ignoreErrorsCheckBox.setSelected(false);
//        _oldFormatCheckBox = new JCheckBox("Old Format");
//        _oldFormatCheckBox.addItemListener(this);
//        _oldFormatCheckBox.setSelected(true);

        splash.setProgress(20);
//        buttonPanel.add(_ignoreErrorsCheckBox);
//        buttonPanel.add(_oldFormatCheckBox);
        buttonPanel.add(_unloadWorkFlowButton);

        loadedWorkflowsPanel.add(buttonPanel, BorderLayout.SOUTH);
        add(loadedWorkflowsPanel, BorderLayout.NORTH);
        _activeCasesTableModel = new YWorklistTableModel(new String[]{"SpecificationID", "CaseID"});
        _activeCasesTable = new JTable(_activeCasesTableModel);
        JPanel activeCasesPanel = new JPanel(new BorderLayout());
        activeCasesPanel.setBackground(_apiColour);
        activeCasesPanel.setBorder(
                BorderFactory.createCompoundBorder(
                        BorderFactory.createTitledBorder(
                                BorderFactory.createEtchedBorder(), "Active Cases"),
                        BorderFactory.createEmptyBorder(10, 10, 10, 10)));
        scrollPane = new JScrollPane(_activeCasesTable);
        scrollPane.setPreferredSize(new Dimension(350, 100));
        scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        activeCasesPanel.add(scrollPane, BorderLayout.CENTER);
        buttonPanel = new JPanel(new GridLayout(1, 3));
        splash.setProgress(30);
        buttonPanel.setBackground(_apiColour);
        buttonPanel.add(_inspectStateButton);
        buttonPanel.add(_cancelCaseButton);
        activeCasesPanel.add(buttonPanel, BorderLayout.SOUTH);


        JPanel bottomPanel = new JPanel(new BorderLayout());
        bottomPanel.setBackground(_apiColour);

        bottomPanel.add(activeCasesPanel, BorderLayout.WEST);
        _activeWorklistsTableModel = new YWorklistTableModel(new String[]{"UserName"});
        _activeWorklistsTable = new JTable(_activeWorklistsTableModel);
        JPanel activeWorklistsPanel = new JPanel(new BorderLayout());
        activeWorklistsPanel.setBackground(_apiColour);
        activeWorklistsPanel.setBorder(
                BorderFactory.createCompoundBorder(
View Full Code Here

TOP

Related Classes of au.edu.qut.yawl.swingWorklist.YWorklistTableModel

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.