/* * Copyright (c) 2003,2009 Declarative Engineering LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Declarative Engineering LLC * verson 1 which accompanies this distribution, and is available at * http://declarativeengineering.com/legal/DE_Developer_License_v1.txt */ package com.foundation.tcv.swt; import org.eclipse.swt.SWT; public interface IFrame extends IContainer { public static final int STYLE_CLOSE = SWT.CLOSE; public static final int STYLE_MIN = SWT.MIN; public static final int STYLE_MAX = SWT.MAX; public static final int STYLE_RESIZE = SWT.RESIZE; public static final int STYLE_TITLE = SWT.TITLE; public static final int STYLE_NO_TRIM = SWT.NO_TRIM; public static final int STYLE_SHELL_TRIM = SWT.SHELL_TRIM; public static final int STYLE_DIALOG_TRIM = SWT.DIALOG_TRIM; public static final int STYLE_ON_TOP = SWT.ON_TOP; public static final int STYLE_TOOL = SWT.TOOL; /** Notifies the client that the server wants to know when the frame is closed. */ public static final int MESSAGE_REQUEST_CLOSED_NOTIFICATION = IContainer.LAST_MESSAGE_NUMBER + 1; /** Notifies the server that the client frame has been activated or deactivated. */ public static final int MESSAGE_IS_ACTIVATED = IContainer.LAST_MESSAGE_NUMBER + 2; /** Notifies the server that the client frame has been closed. */ public static final int MESSAGE_IS_CLOSED = IContainer.LAST_MESSAGE_NUMBER + 3; /** Sets the frame to be (or not to be) minimized (passes a Boolean). */ public static final int MESSAGE_MINIMIZE = IContainer.LAST_MESSAGE_NUMBER + 4; /** Sets the frame to be (or not to be) maximized (passes a Boolean). */ public static final int MESSAGE_MAXIMIZE = IContainer.LAST_MESSAGE_NUMBER + 5; /** Tells the client whether it should send activated/deactivated event notifications. */ public static final int MESSAGE_SEND_ACTIVATED_EVENTS = IContainer.LAST_MESSAGE_NUMBER + 6; /** Tells the client whether it should send minimized/maximized event notifications. */ public static final int MESSAGE_SEND_MIN_MAX_EVENTS = IContainer.LAST_MESSAGE_NUMBER + 7; /** Notifies the client that a given button is the default button for the frame. */ public static final int MESSAGE_SET_DEFAULT_BUTTON = IContainer.LAST_MESSAGE_NUMBER + 8; /** Shows the view by un-minimizing as necessary, sets the view to be visible, and the provides focus. */ public static final int MESSAGE_SHOW = IContainer.LAST_MESSAGE_NUMBER + 9; public static final int MESSAGE_SET_CONTAINER_IMAGES = IContainer.LAST_MESSAGE_NUMBER + 10; public static final int LAST_MESSAGE_NUMBER = IContainer.LAST_MESSAGE_NUMBER + 10; }//IFrame//