Search in sources :

Example 1 with EdgeWidthDialog

use of org.baderlab.csplugins.enrichmentmap.view.postanalysis.EdgeWidthDialog in project EnrichmentMapApp by BaderLab.

the class ControlPanelMediator method showEdgeWidthDialog.

/**
	 * Show Post Analysis Edge Width dialog"
	 */
private void showEdgeWidthDialog() {
    if (WidthFunction.appliesTo(applicationManager.getCurrentNetwork())) {
        EdgeWidthDialog dialog = dialogProvider.get();
        dialog.pack();
        dialog.setLocationRelativeTo(swingApplication.getJFrame());
        dialog.setVisible(true);
    } else {
        JOptionPane.showMessageDialog(getControlPanel(), "Please add signature gene sets first.", "EnrichmentMap Edge Width", JOptionPane.WARNING_MESSAGE);
    }
}
Also used : EdgeWidthDialog(org.baderlab.csplugins.enrichmentmap.view.postanalysis.EdgeWidthDialog)

Aggregations

EdgeWidthDialog (org.baderlab.csplugins.enrichmentmap.view.postanalysis.EdgeWidthDialog)1