66. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:36 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

66.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CacheWeb\src\gov\va\med\cache\gui\client ActionableNamedItemCell.java Mon Dec 4 21:34:20 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CacheWeb\src\gov\va\med\cache\gui\client ActionableNamedItemCell.java Mon Dec 4 21:57:55 2017 UTC

66.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 214
Changed 1 2
Inserted 0 0
Removed 0 0

66.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

66.4 Active regular expressions

No regular expressions were active.

66.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.c ache.gui.c lient;
  5  
  6   import gov .va.med.ca che.gui.sh ared.Abstr actNamedVO ;
  7  
  8   import jav a.util.Arr ayList;
  9   import jav a.util.Lis t;
  10   import org .apache.lo gging.log4 j.LogManag er;
  11   import org .apache.lo gging.log4 j.Logger;
  12  
  13   import com .google.gw t.cell.cli ent.Compos iteCell;
  14   import com .google.gw t.cell.cli ent.HasCel l;
  15  
  16   /**
  17    * @author         
BECKEC
  18    * 
  19    * Type Va riables wi thin this  class defi nition
  20    * V exten ds Abstrac tNamedVO -  the (conc rete) type  of value  object tha t is to be  rendered
  21    * All cac he items ( CacheVO, R egionVO, e tc.) to be  rendered  are subcla sses of Ab stractName dVO
  22    * 
  23    * A Compo siteCell i s composed  of other  Cells.
  24    * When th is cell is  rendered,  it will r ender each  component  Cell insi de a span.  
  25    * If the  component  Cell uses  block leve l elements  (such as  a Div), th e componen t cells wi ll stack v ertically.
  26    * Paramet ers:
  27    * <V> the  type that  this Cell  represent s
  28    */
  29   public cla ss Actiona bleNamedIt emCell<V e xtends Abs tractNamed VO> 
  30   extends Co mpositeCel l<V>
  31   {
  32           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ===
  33           //  Static Me mbers
  34           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ===
  35           pu blic stati c final St ring COMPO SITE_CELL_ START_ELEM ENT = "<di v class=\" actionable -composite \">";
  36           pu blic stati c final St ring COMPO SITE_CELL_ END_ELEMEN T = "</div >";
  37           
  38           st atic Logge r   logger   = LogMan ager.getLo gger(Actio nableNamed ItemCell.c lass.getNa me());
  39  
  40           /* *
  41            *  
  42            *  @return
  43            * /
  44           @S uppressWar nings("unc hecked")
  45           pr ivate stat ic <D exte nds Abstra ctNamedVO>  List<HasC ell<D, ?>>  createCon stituentCe lls(
  46                    Cach eContentTr eeModel mo del, 
  47                    Abst ractNamedI temCell<D>  cell,
  48                    Abst ractNamedI temDescrip tionCell<D > descript ionCell,
  49                    bool ean deleta ble,
  50                    bool ean moreIn formationA vailable,
  51                    bool ean refres hable)
  52           {
  53                    // C onstruct a  composite  cell for  groups tha t includes  a delete  icon
  54                    List <HasCell<D , ?>> hasC ells = new  ArrayList <HasCell<D , ?>>();
  55  
  56                    hasC ells.add(  cell.getHa sCell() );
  57  
  58                    if(d eletable)
  59                             hasCel ls.add( (H asCell<D,  ?>) Delete ActionCell .create(mo del) );
  60  
  61                    if(m oreInforma tionAvaila ble && des criptionCe ll != null )
  62                             hasCel ls.add( (H asCell<D,  ?>) Inform ationActio nCell.crea te(model)  );
  63                    
  64                    if(r efreshable )
  65                             hasCel ls.add( (H asCell<D,  ?>) Refres hActionCel l.create(m odel) );
  66  
  67                    if(d escription Cell != nu ll)
  68                             hasCel ls.add( de scriptionC ell.getHas Cell() );
  69                    
  70                    retu rn hasCell s;
  71           }
  72  
  73           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ===
  74           //  Instance  Members
  75           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ===
  76           
  77           /* *
  78            *  
  79            *  @param mo del
  80            *  @param ce ll
  81            *  @param de letable
  82            *  @param mo reInformat ionAvailab le
  83            *  @param re freshable
  84            * /
  85           pu blic Actio nableNamed ItemCell(
  86                    Cach eContentTr eeModel mo del, 
  87                    Abst ractNamedI temCell<V>  cell, 
  88                    Abst ractNamedI temDescrip tionCell<V > descript ion, 
  89                    bool ean deleta ble, 
  90                    bool ean moreIn formationA vailable,
  91                    bool ean refres hable)
  92           {
  93                    // c om.google. gwt.cell.c lient.Comp ositeCell. CompositeC ell(List<H asCell<V,  ?>> hasCel ls)
  94                    // C onstruct a  new Compo siteCell.
  95                    // P arameters:
  96                    // h asCells th e cells th at makeup  the compos ite
  97                    //
  98                    // V  is the un derlying d ata type,  a subtype  of Abstrac tNamedVO
  99                    // ?  is the Ce ll data ty pe, implie s that the  Cell (ren dered) typ e can be a ny type 
  100                    supe r( Actiona bleNamedIt emCell.cre ateConstit uentCells(
  101                             model,  
  102                             cell, 
  103                             descri ption, 
  104                             Config uration.is ShowDelete () && dele table, 
  105                             moreIn formationA vailable, 
  106                             Config uration.is ShowRefres h() && ref reshable)  );
  107           }
  108   }