Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_ID_KEY
Key constant for the element id.
|
Modifier and Type | Method and Description |
---|---|
static void |
setElementIdDataForVControl(org.eclipse.swt.widgets.Widget widget,
VControl element,
ViewModelContext context)
Sets the element id with the control sub id on the given widget.
|
static void |
setElementIdDataWithSubId(org.eclipse.swt.widgets.Widget widget,
VElement element,
String subId,
ViewModelContext context)
Sets the element id with the given sub id on the given widget.
|
public static final String ELEMENT_ID_KEY
public static void setElementIdDataForVControl(org.eclipse.swt.widgets.Widget widget, VControl element, ViewModelContext context)
widget
- the widget to set the data onelement
- the element including the idcontext
- the ViewModelContext
public static void setElementIdDataWithSubId(org.eclipse.swt.widgets.Widget widget, VElement element, String subId, ViewModelContext context)
widget
- the widget to set the data onelement
- the element including the idsubId
- the sub idcontext
- the ViewModelContext
Copyright © 2017. All rights reserved.