Search in sources :

Example 1 with ReorderedDataModel

use of edu.ucsf.rbvi.clusterMaker2.internal.treeview.model.ReorderedDataModel in project clusterMaker2 by RBVI.

the class ViewFrame method showSubDataModel.

public void showSubDataModel(int[] indexes, String source, String name) {
    if (indexes.length == 0) {
        JOptionPane.showMessageDialog(this, "No Genes to show summary of!");
        return;
    }
    ReorderedDataModel dataModel = new ReorderedDataModel(getDataModel(), indexes);
    if (source != null)
        dataModel.setSource(source);
    if (name != null)
        dataModel.setName(name);
    ViewFrame window = getApp().openNew();
    window.setDataModel(dataModel);
    window.setLoaded(true);
    window.setVisible(true);
}
Also used : ReorderedDataModel(edu.ucsf.rbvi.clusterMaker2.internal.treeview.model.ReorderedDataModel)

Aggregations

ReorderedDataModel (edu.ucsf.rbvi.clusterMaker2.internal.treeview.model.ReorderedDataModel)1