public boolean nextTab()

in src/main/java/com/atlassian/uwc/ui/UWCForm2.java [103:139]


    public boolean nextTab() {
        int tabIndex = tabbedPane1.getSelectedIndex();
        if (tabIndex == 0) {
            // choose wiki
            if (chooseWikiForm.wikiJList.getMinSelectionIndex() < 0) {
                JOptionPane.showInternalMessageDialog(this.mainPanel, "Please choose a wiki type");
                return false;
            }
            chooseWikiForm.copySelectedConvertFile();

        } else if (tabIndex == 1) {
        } else if (tabIndex == 2) {
            // select converters
            int listSize = engineSelectedConverterList.size();
            if (listSize == 0) {
                JOptionPane.showInternalMessageDialog(this.mainPanel, "Please select at least one converter");
                return false;
            }
        } else if (tabIndex == 3) {
            // select pages to convert
            int listSize = pageList.size();
            if (listSize == 0) {
                JOptionPane.showInternalMessageDialog(this.mainPanel, "Please select at least one page to convert.");
                return false;
            }
        } else if (tabIndex == 1) {
        } else if (tabIndex == 1) {
        } else if (tabIndex == 1) {
        } else if (tabIndex == 1) {
        } else if (tabIndex == 1) {
        } else if (tabIndex == 1) {
        }


        tabbedPane1.setSelectedIndex(tabIndex + 1);
        return true;
    }