switch (session.getListOfClustering().get(clusteringTable.getSelectedRow()).getClusteringType()) {
case KMEANS:
clusingP.add(new KMeansInfoClustering((ClusteringInfosKMean) ((KMean) session.getListOfClustering().get(
clusteringTable.getSelectedRow())).getClusteringInfos(clusterTable.getSelectedRow() + 1), clusterTable
.getSelectedRow() + 2, model));
clustP.add(new KMeansInfoCluster((ClusteringInfosKMean) ((KMean) session.getListOfClustering().get(
clusteringTable.getSelectedRow())).getClusteringInfos(clusterTable.getSelectedRow() + 1), clusterTable
.getSelectedRow() + 2, session, clusteringTable.getSelectedRow()));
if (changedType) {
//matrix = new DispKMeanMatrix(model,-1);
//matrixPanel.add(matrix);