Package hu.u_szeged.nbo.client.ui.components.resourcetable

Examples of hu.u_szeged.nbo.client.ui.components.resourcetable.ResourceTable


    else {
      ResourceTable[] newTablesSource = new ResourceTable[inputFilenames.size()];

      for (int i = 0; i < inputFilenames.size(); i++) {
        String sourceData = raProblem.getSourceMap().get(inputFilenames.get(i));
        ResourceTable table = new ResourceTable(sourceData, sourceTableStack);
        newTablesSource[i] = table;
      }

      openedProblemsSource.put(raProblem.getName(), newTablesSource);
      sourceTables = newTablesSource;
View Full Code Here


          solutionData = "megnevezes\tertek\n" +  temp.replaceAll(": ", "\t");
        }

        else solutionData = raProblem.getSolution().get(outputFilenames.get(i));

        ResourceTable table = new ResourceTable(solutionData, solutionTableStack);
        newTablesSolution[i] = table;
      }

      openedProblemsSolution.put(raProblem.getName(), newTablesSolution);
      solutionTables = newTablesSolution;
    }

    else {
      solutionTables = null;
      solutionTableStackLayout.topControl = null;
      solutionTableStack.layout();
    }

    int solutionSelectionIndex = solutionFileList.getSelectionIndex();

    if (solutionSelectionIndex >= 0) {
      if(solutionTables != null) {
        ResourceTable selectedTable = solutionTables[solutionSelectionIndex];

        if (selectedTable != null) {
          Table selectionTable = selectedTable.getTable();

          solutionTableStackLayout.topControl = selectionTable;
          selectionTable.setVisible(true);
          solutionTableStack.layout();
        }
View Full Code Here

TOP

Related Classes of hu.u_szeged.nbo.client.ui.components.resourcetable.ResourceTable

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.