use of teamdash.hist.ui.BlameSelectionListener in project processdash by dtuma.
the class WBSJTable method setBlameData.
public void setBlameData(BlameData blame) {
BlameModelData blameData = BlameData.getModel(blame, wbsModel.getModelType());
if (this.blameData != blameData) {
if (this.blameData != null)
this.blameData.removeBlameModelDataListener(BLAME_LISTENER);
if (this.blameSelectionListener != null) {
this.blameSelectionListener.dispose();
this.blameSelectionListener = null;
}
this.blameData = blameData;
FILTER_ACTION.setBlameData(blameData);
if (this.blameData != null) {
this.blameData.addBlameModelDataListener(BLAME_LISTENER);
this.blameSelectionListener = new BlameSelectionListener(this, blame);
}
repaint();
}
}
use of teamdash.hist.ui.BlameSelectionListener in project processdash by dtuma.
the class DataJTable method setBlameData.
public void setBlameData(BlameData blame) {
BlameModelData blameData = BlameData.getModel(blame, ((DataTableModel) getModel()).getWBSModel().getModelType());
if (this.blameData != blameData) {
if (this.blameData != null)
this.blameData.removeBlameModelDataListener(BLAME_LISTENER);
if (this.blameSelectionListener != null) {
this.blameSelectionListener.dispose();
this.blameSelectionListener = null;
}
this.blameData = blameData;
if (this.blameData != null) {
this.blameData.addBlameModelDataListener(BLAME_LISTENER);
this.blameSelectionListener = new BlameSelectionListener(this, blame);
}
repaint();
}
}
Aggregations