46 lines
2.9 KiB
Java
46 lines
2.9 KiB
Java
|
|
/*
|
||
|
|
* 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 IMenu extends IAbstractComponent {
|
||
|
|
public static final int STYLE_BAR = 1 << 10;
|
||
|
|
public static final int STYLE_POPUP = 1 << 11;
|
||
|
|
//public static final int STYLE_DROP_DOWN = SWT.DROP_DOWN; //Same as cascade.//
|
||
|
|
public static final int STYLE_RADIO = SWT.RADIO;
|
||
|
|
public static final int STYLE_CHECK = SWT.CHECK;
|
||
|
|
public static final int STYLE_PUSH = SWT.PUSH;
|
||
|
|
public static final int STYLE_SEPARATOR = SWT.SEPARATOR;
|
||
|
|
public static final int STYLE_CASCADE = SWT.CASCADE;
|
||
|
|
public static final int STYLE_RIGHT_TO_LEFT = SWT.RIGHT_TO_LEFT;
|
||
|
|
public static final int STYLE_LEFT_TO_RIGHT = SWT.LEFT_TO_RIGHT;
|
||
|
|
|
||
|
|
public static final int MESSAGE_CREATE_COMPONENT = IAbstractComponent.LAST_MESSAGE_NUMBER + 1;
|
||
|
|
public static final int MESSAGE_SET_TEXT = IAbstractComponent.LAST_MESSAGE_NUMBER + 2;
|
||
|
|
public static final int MESSAGE_SET_IMAGE = IAbstractComponent.LAST_MESSAGE_NUMBER + 3;
|
||
|
|
public static final int MESSAGE_SET_IS_SELECTED = IAbstractComponent.LAST_MESSAGE_NUMBER + 4;
|
||
|
|
public static final int MESSAGE_SET_ACCELERATOR = IAbstractComponent.LAST_MESSAGE_NUMBER + 5;
|
||
|
|
public static final int MESSAGE_SET_LOCATION = IAbstractComponent.LAST_MESSAGE_NUMBER + 6;
|
||
|
|
public static final int MESSAGE_SET_IS_VISIBLE = IAbstractComponent.LAST_MESSAGE_NUMBER + 7;
|
||
|
|
public static final int MESSAGE_SET_IS_ENABLED = IAbstractComponent.LAST_MESSAGE_NUMBER + 8;
|
||
|
|
public static final int MESSAGE_VIEW_REFRESH_SELECTION = IAbstractComponent.LAST_MESSAGE_NUMBER + 9;
|
||
|
|
public static final int MESSAGE_VIEW_REFRESH_TEXT = IAbstractComponent.LAST_MESSAGE_NUMBER + 10;
|
||
|
|
public static final int MESSAGE_VIEW_REFRESH_IMAGE = IAbstractComponent.LAST_MESSAGE_NUMBER + 11;
|
||
|
|
public static final int MESSAGE_VIEW_SYNCHRONIZE_SELECTION = IAbstractComponent.LAST_MESSAGE_NUMBER + 12;
|
||
|
|
public static final int MESSAGE_SET_SYNCHRONOUS_SELECTION = IAbstractComponent.LAST_MESSAGE_NUMBER + 13;
|
||
|
|
public static final int MESSAGE_ADD_SELECTION_LINK = IAbstractComponent.LAST_MESSAGE_NUMBER + 14;
|
||
|
|
public static final int LAST_MESSAGE_NUMBER = IAbstractComponent.LAST_MESSAGE_NUMBER + 14;
|
||
|
|
|
||
|
|
public static final int LINK_TARGET_SELECTION = IAbstractComponent.LAST_LINK_TARGET + 1;
|
||
|
|
public static final int LINK_TARGET_IS_VISIBLE = IAbstractComponent.LAST_LINK_TARGET + 2;
|
||
|
|
public static final int LINK_TARGET_IS_ENABLED = IAbstractComponent.LAST_LINK_TARGET + 3;
|
||
|
|
public static final int LINK_TARGET_IMAGE = IAbstractComponent.LAST_LINK_TARGET + 4;
|
||
|
|
public static final int LINK_TARGET_TEXT = IAbstractComponent.LAST_LINK_TARGET + 5;
|
||
|
|
public static final int LAST_LINK_TARGET = IAbstractComponent.LAST_LINK_TARGET + 5;
|
||
|
|
}//IMenu//
|