use of org.baderlab.csplugins.enrichmentmap.AfterInjection in project EnrichmentMapApp by BaderLab.
the class PostAnalysisKnownSignaturePanel method createContents.
@AfterInjection
private void createContents() {
// Gene set file panel
JPanel gmtPanel = createKnownSignatureGMTPanel();
// Parameters collapsible panel
weightPanel = new PostAnalysisWeightPanel(serviceRegistrar);
final GroupLayout layout = new GroupLayout(this);
setLayout(layout);
layout.setAutoCreateContainerGaps(false);
layout.setAutoCreateGaps(false);
layout.setHorizontalGroup(layout.createParallelGroup(Alignment.CENTER, true).addComponent(gmtPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE).addComponent(weightPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE));
layout.setVerticalGroup(layout.createSequentialGroup().addComponent(gmtPanel, PREFERRED_SIZE, DEFAULT_SIZE, PREFERRED_SIZE).addComponent(weightPanel, PREFERRED_SIZE, DEFAULT_SIZE, PREFERRED_SIZE));
}
use of org.baderlab.csplugins.enrichmentmap.AfterInjection in project EnrichmentMapApp by BaderLab.
the class HeatMapMainPanel method createContents.
@AfterInjection
private void createContents() {
settingsPanel = new SettingsPopupPanel();
settingsPanel.setDistanceConsumer(this::updateSetting_Distance);
// must create table first
JPanel expressionPanel = createTablePanel();
JPanel toolbarPanel = createToolbarPanel();
setLayout(new BorderLayout());
add(toolbarPanel, BorderLayout.NORTH);
add(expressionPanel, BorderLayout.CENTER);
setOpaque(false);
}
Aggregations