net.maizegenetics.analysis.data.MemoryUsagePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel Show documentation
Show all versions of tassel Show documentation
TASSEL is a software package to evaluate traits associations, evolutionary patterns, and linkage
disequilibrium.
/*
* MemoryUsagePlugin
*
* Created on April 18, 2016
*/
package net.maizegenetics.analysis.data;
import java.awt.Frame;
import javax.swing.ImageIcon;
import net.maizegenetics.plugindef.AbstractPlugin;
import net.maizegenetics.plugindef.DataSet;
import net.maizegenetics.util.Sizeof;
/**
*
* @author Terry Casstevens
*/
public class MemoryUsagePlugin extends AbstractPlugin {
public MemoryUsagePlugin(Frame parentFrame, boolean isInteractive) {
super(parentFrame, isInteractive);
}
@Override
public DataSet processData(DataSet input) {
Sizeof.printMemoryUse();
return input;
}
@Override
public ImageIcon getIcon() {
return null;
}
@Override
public String getButtonName() {
return "Memory Usage";
}
@Override
public String getToolTipText() {
return "Memory Usage";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy