Fields Summary |
---|
public static final int | TYPE_CREATETriggered before view is initialize in order to allow any set up before
initialization
This is the only time that setting {@link UISWTView#setControlType(int)}
has any effect.
return true from {@link UISWTViewEventListener#eventOccurred(UISWTViewEvent)}
if creation was successfull. If you want only one instance of your view,
or if there's any reason you can't create, return false, and an existing
view will be used, if one is present. |
public static final int | TYPE_DATASOURCE_CHANGEDTriggered when the datasource related to this view change.
Usually called after TYPE_CREATE, but before TYPE_INITIALIZE
getData() will return an Object[] array, or null |
public static final int | TYPE_INITIALIZEInitialize your view.
getData() will return a SWT Composite or AWT Container for you to place
object in. |
public static final int | TYPE_FOCUSGAINEDFocus Gained |
public static final int | TYPE_FOCUSLOSTFocus Lost
TYPE_FOCUSLOST may not be called before TYPE_DESTROY |
public static final int | TYPE_REFRESHTriggered on user-specified intervals. Plugins should update any
live information at this time.
Caller is the GUI thread |
public static final int | TYPE_LANGUAGEUPDATELanguage has changed. Plugins should update their text to the new
language. To determine the new language, use Locale.getDefault() |
public static final int | TYPE_DESTROYTriggered when the parent view is about to be destroyed
TYPE_FOCUSLOST may not be called before TYPE_DESTROY |
public static final int | TYPE_CLOSETriggered when the parent view is about to be closed
Return false to abort close |