/**
 *
 * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); You may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.speedment.tool.event;

import com.speedment.runtime.event.Event;
import com.speedment.runtime.annotation.Api;

/**
 * Event that is created when the User Interface is starting. This happens when
 * the {@link com.speedment.tool.UISession UISession} 
 * instance is accessible but no window have been created yet.
 * 
 * @author  Emil Forslund
 * @since   2.3
 */
@Api(version = "2.3")
public enum UIEvent implements Event {
    
    STARTED,
    OPEN_MAIL_PROMPT_WINDOW,
    OPEN_CONNECT_WINDOW,
    OPEN_MAIN_WINDOW,
    OPEN_COMPONENTS_WINDOW,
    OPEN_ABOUT_WINDOW;
    
}
/**
 *
 * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); You may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.speedment.tool.event;

import com.speedment.runtime.event.Event;
import com.speedment.runtime.annotation.Api;

/**
 * An enumeration of standard events caused by the user interface.
 * 
 * @author  Emil Forslund
 * @since   2.3.0
 */
@Api(version = "2.3")
public enum UIEvent implements Event {
    
    /**
     * The user interface has started but no window has been opened yet.
     */
    STARTED,
    
    /**
     * The "Mail Prompt Window" has just been opened.
     */
    OPEN_MAIL_PROMPT_WINDOW,
    
    /**
     * The "Connect Window" has just been opened.
     */
    OPEN_CONNECT_WINDOW,
    
    /**
     * The "Main Window" has just been opened.
     */
    OPEN_MAIN_WINDOW,
    
    /**
     * The "Components Window" has just been opened.
     */
    OPEN_COMPONENTS_WINDOW,
    
    /**
     * The "About Window" has just been opened.
     */
    OPEN_ABOUT_WINDOW;
    
}
Improve javadoc in UIEvent