/** @see javax.swing.table.TableModel#getValueAt(int, int) */ public Object getValueAt(int arg0, int arg1) { switch (arg1) { case 0: // enabled column ArtefactInfo ai = (ArtefactInfo) this.fArtefactData.get(arg0); if (ai.getFlag(ArtefactInfo.ENABLED)) { return Boolean.TRUE; } else { return Boolean.FALSE; } case 1: // query name column return (ArtefactInfo) this.fArtefactData.get(arg0); } return null; }
/** * @see * com.ixora.rms.ui.artefacts.ArtefactSelectorPanel#showPlotMenuItemForArtefact(com.ixora.rms.client.model.ArtefactInfo) */ protected boolean showPlotMenuItemForArtefact(ArtefactInfo ai) { // show the plot menu no matter what is the state of the artefact return ai.isCommitted(); }