|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractWidget
org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.query.SelectQueryTypeWidget
public class SelectQueryTypeWidget
Provide the composite for the query type selection.
Label : [ combobox ] [ TextField ] When the user select aAbstractQueryDialogFactory
, the associated
dialog GetQueryDialog
is created (with the method
#createQueryWidgetDialog(AbstractQueryDialogFactory)
using the
attributes of the query type) and displayed.
Query
,
AbstractQueryDialogFactory
,
GetQueryDialog
Constructor Summary | |
---|---|
SelectQueryTypeWidget(Composite parent,
PropertyElement queryProperty,
boolean comboboxEnabled,
IQueryContext queryContext)
Constructor. |
|
SelectQueryTypeWidget(Composite parent,
PropertyElement propertyElement,
IQueryContext queryContext)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getError()
|
java.lang.String |
getText()
|
boolean |
isSelectionEnabled()
|
void |
notifyChanged()
|
|
selectQueryType(java.lang.String selection)
Select the item in the combobox with the name in parameter. |
void |
setAlertMessage(java.lang.String alertMessage)
Set the alert message that will be displayed if the checkbox is not checked. |
void |
setSelectionEnabled(boolean enabled)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectQueryTypeWidget(Composite parent, PropertyElement propertyElement, IQueryContext queryContext)
parent
- the parent of the composite.properties
- the WidgetProperties
of the parent.queryProp
- the property element that this composite will edit.public SelectQueryTypeWidget(Composite parent, PropertyElement queryProperty, boolean comboboxEnabled, IQueryContext queryContext)
parent
- the parent of the composite.properties
- the WidgetProperties
of the parent.queryProp
- the property element that this composite will edit.Method Detail |
---|
publicselectQueryType(java.lang.String selection)
selection
- the name of the selection.public java.lang.String getError()
public void setSelectionEnabled(boolean enabled)
enabled
- set if the selection combobox is enabled or not.public boolean isSelectionEnabled()
public void setAlertMessage(java.lang.String alertMessage)
alertMessage
- the alertMessage to setpublic void notifyChanged()
public java.lang.String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |