org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.query
Class GetQueryDialog
java.lang.Object
org.eclipse.papyrus.emf.facet.efacet.sdk.ui.internal.query.GetQueryDialog
public class GetQueryDialog
- extends
This class provide the dialog for the creation of the specific dialog
according of the type of the query selected.
To run, this class needs to have into the properties pass in the constructor:
The PropertyElement
name
with the key
EcorePackage.eINSTANCE.getENamedElement_Name()
The PropertyElement
type
with the key
EcorePackage.eINSTANCE.getETypedElement_EType()
The PropertyElement
parent
(a Facet
) with the
key EcorePackage.eINSTANCE.getEObject__EContainer()
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetQueryDialog
public GetQueryDialog( callback,
IQueryDialogFactoryStrategy strategy,
IQueryContext queryContext)
- Parameters:
callback
- the callback.properties
- properties that parent widget had.propertyElement
- the PropertyElement
containing the queryqDialogFactoryStrategiy
- an instance of AbstractQueryDialogFactory
needed to
create the dialogquery
-
createWidget
public ICreateQueryWidget createWidget()
isDialogValid
public boolean isDialogValid()
getConclusionText
public java.lang.String getConclusionText()
isCanBeCached
public boolean isCanBeCached()
isHasSideEffect
public boolean isHasSideEffect()
getCreateQueryWidget
public IAbstractWidget getCreateQueryWidget()
createSubWidget
public IAbstractWidget createSubWidget()