コード例 #1
0
 /** @see com.ixora.rms.ui.artefacts.ArtefactSelectorPanel#uncommittedArtifacts() */
 protected boolean uncommittedArtifacts() {
   ArtefactInfoContainer aic = this.fSessionData.getArtefactContainerForResource(fContext, true);
   if (aic == null) {
     logger.error("Couldn't find info container for: " + fContext);
     return false;
   }
   return aic.uncommittedVisibleDashboards();
 }
コード例 #2
0
 /** Updates the query group table model. */
 private void refreshTableModel() {
   setDescriptionText(null);
   // reread data from model
   ArtefactInfoContainer aic = fSessionData.getArtefactContainerForResource(fContext, true);
   if (aic == null) {
     logger.error("Couldn't find dashboard info container for: " + fContext);
     getDashboardTableModel().setArtefacts(fContext, null);
   } else {
     getDashboardTableModel().setArtefacts(fContext, aic.getDashboardInfo());
   }
 }