Author: bobtarling
Date: 2011-04-11 04:32:30-0700
New Revision: 19210

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java

Log:
Remove deprecations and some empty methods

Modified: 
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java?view=diff&pathrev=19210&r1=19209&r2=19210
==============================================================================
--- 
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java    
    (original)
+++ 
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java    
    2011-04-11 04:32:30-0700
@@ -59,14 +59,6 @@
     private static final int MARGIN = 3;
 
     /**
-     * The bounding figure of the compartment containing this fig text.
-     * @deprecated for 0.27.3 by tfmorris.  Only used for line color which we
-     * can get from the render settings or GEF.
-     */
-    @Deprecated
-    private Fig refFig;
-
-    /**
      * Construct a CompartmentFigText.
      * 
      * @param element owning uml element
@@ -140,33 +132,6 @@
         return false;
     }
 
-    /**
-     * Override for correct graphical behaviour.<p>
-     *
-     * @return  Current fill colour&mdash;always the fill colour of the
-     *          associated compartment fig.
-     */
-    @Override
-    public Color getLineColor() {
-        if (refFig != null) {
-            return refFig.getLineColor();
-        } else {
-            // Get the right color from our settings
-            return super.getLineColor();
-        }
-    }
-
-    /**
-     * Extends the normal paint function in order to display a similar
-     * selection-box to that given for a non-resizable FigNode.
-     * @param g the graphics object
-     * @see org.tigris.gef.presentation.FigText#paint(java.awt.Graphics)
-     */
-    @Override
-    public void paint(Graphics g) {
-        super.paint(g);
-    }
-
     public void paintClarifiers(Graphics g) {
     }
 }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2718825

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to