Changeset 1745

Show
Ignore:
Timestamp:
05/04/07 14:39:09 (2 years ago)
Author:
dsugar
Message:

make sure to draw name of entrypoint even when there is a warning.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/framework-plugin/src/com/tresys/framework/plugin/editor/policy/graphic/figure/EntryConnectionFigure.java

    r1468 r1745  
    105105                        if (imgWarning != null ) 
    106106                        { 
    107                                 lineWidth = 3; 
    108                                 g.drawPolygon(pentagon_points); 
    109                                 g.fillPolygon(pentagon_points); 
    110                                 g.drawImage(imgWarning, midPoint.x - (m_name.length())/2, midPoint.y + metrics.getHeight()/2 - 9);               
    111                         }        
     107                                g.drawImage(imgWarning, midPoint.x + 12, midPoint.y - 9);                
     108                        } 
    112109                } 
    113110        }