"""
PureMVC Python Demo - wxPython Employee Admin
By Toby de Havilland <toby.de.havilland@puremvc.org>
Copyright(c) 2007-08 Toby de Havilland, Some rights reserved.
"""

DEPT_NONE_SELECTED     = '--None Selected--'
DEPT_ACCT              = 'Accounting'
DEPT_SALES             = 'Sales'
DEPT_PLANT             = 'Plant'
DEPT_SHIPPING          = 'Shipping'
DEPT_QC                = 'Quality Control'

DeptList =  [ DEPT_NONE_SELECTED,
            DEPT_ACCT, 
            DEPT_SALES, 
            DEPT_PLANT
            ]

ROLE_NONE_SELECTED    = '--None Selected--'
ROLE_ADMIN            = 'Administrator'
ROLE_ACCT_PAY         = 'Accounts Payable'
ROLE_ACCT_RCV         = 'Accounts Receivable'
ROLE_EMP_BENEFITS     = 'Employee Benefits'
ROLE_GEN_LEDGER       = 'General Ledger'
ROLE_PAYROLL          = 'Payroll'
ROLE_INVENTORY        = 'Inventory'
ROLE_PRODUCTION       = 'Production'
ROLE_QUALITY_CTL      = 'Quality Control'
ROLE_SALES            = 'Sales'
ROLE_ORDERS           = 'Orders'
ROLE_CUSTOMERS        = 'Customers'
ROLE_SHIPPING         = 'Shipping'
ROLE_RETURNS          = 'Returns'

RoleList =  [ ROLE_NONE_SELECTED,
            ROLE_ADMIN, 
            ROLE_ACCT_PAY, 
            ROLE_ACCT_RCV, 
            ROLE_EMP_BENEFITS, 
            ROLE_GEN_LEDGER, 
            ROLE_PAYROLL,
            ROLE_INVENTORY,
            ROLE_PRODUCTION,
            ROLE_QUALITY_CTL,
            ROLE_SALES,
            ROLE_ORDERS,
            ROLE_CUSTOMERS,
            ROLE_SHIPPING,
            ROLE_RETURNS
            ]

class Command(object):
    STARTUP           = "startup"

    DELETE_USER       = "deleteUser"

    ADD_ROLE_RESULT   = "addRoleResult"

class Notification(object):
    NEW_USER          = "newUser"
    CANCEL_SELECTED   = "cancelSelected"

    USER_SELECTED     = "userSelected"
    USER_ADDED        = "userAdded"
    USER_UPDATED      = "userUpdated"
    USER_DELETED      = "userDeleted"

    SHOW_DIALOG       = "showDialog"

