Math2mat

/home/ythoma/docs/math2mat/svn/wp1/framework/m2mGUI/src/m2m/frontend/dynamicview/figure/SchemaFigure.java

Go to the documentation of this file.
00001 
00015 package m2m.frontend.dynamicview.figure;
00016 
00017 import org.eclipse.draw2d.ColorConstants;
00018 import org.eclipse.draw2d.Figure;
00019 import org.eclipse.draw2d.LineBorder;
00020 import org.eclipse.draw2d.XYLayout;
00021 
00022 public class SchemaFigure extends Figure 
00023 {
00027     private XYLayout layout;
00028     
00029     
00033     public SchemaFigure() 
00034     {
00035         /* Set the type of layout */
00036         layout = new XYLayout();
00037         setLayoutManager(layout);
00038   
00039         /* Initialisation of the figure */
00040         setOpaque(true);
00041         setBackgroundColor(ColorConstants.menuBackground);
00042         setForegroundColor(ColorConstants.menuForeground);
00043         setBorder(new LineBorder(3));    
00044     }    
00045 }
 All Classes Namespaces Files Functions Variables Enumerations