/*
 * Copyright (C) 1999-2006 <a href="mailto:adrian.paschke@gmx.de">Adrian Paschke</a>
 * 
 * The RBSLM Environment is part of the Rule Based Service Level Agreement (RBSLA)
 * framework, available at 
 * <a href=" http://ibis.in.tum.de/staff/paschke/rbsla/index.htm">RBSLA</a>
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package rbsla.environment;

import java.awt.GridBagConstraints;
import java.awt.Insets;

public class ECAConstraints extends GridBagConstraints
{
    // The GridBagConstraints in Java versions prior to 1.2 doesn't contain
    // this very useful constructor:

    public ECAConstraints(int gridx, int gridy, int gridwidth, int gridheight,
            double weightx, double weighty, int anchor, int fill,
            Insets insets, int ipadx, int ipady)
    {
        super();

        this.gridx = gridx;
        this.gridy = gridy;
        this.gridwidth = gridwidth;
        this.gridheight = gridheight;
        this.weightx = weightx;
        this.weighty = weighty;
        this.anchor = anchor;
        this.fill = fill;
        this.insets = insets;
        this.ipadx = ipadx;
        this.ipady = ipady;
    }
    
    //and the constants for the menu items
    public static final String _ADDRULES = "Add new Rules";
    public static final String _REMRULES = "Remove Rules";
    public static final String _STATIC = "Static Values";
    public static final String _ACTUAL = "Actual Values";
    public static final String _QUERY = "Query";
    
    //buttons
    public static final String _EXIT = "Close";
    public static final String _REFRESH = "Refresh";
    
    //time period of the stats
    public static final String[] _PERIOD = {"01/06", "02/06", "03/06", "04/06", "05/06", "06/06", "07/06"};
    
    //colors of the diplayed rules
    public static final String _FIRED_RULE = "color=ff0000";
    public static final String _ACITVE_RULE = "color=00ff00";
    
    //connection to the datebase
    public static final String _DB_DRIVER = "com.mysql.jdbc.Driver";
    public static final String _DB_NAME = "jdbc:mysql://localhost/rbsla";
    public static final String _DB_USER = "root";
    public static final String _DB_PWD = "";
    
    public static final String _FILE_BASE_PATH = "c:/programme/eclipse/workspace/rbsla/";
    
}