Search in sources :

Example 6 with XpathSelectDialog

use of com.amalto.workbench.dialogs.XpathSelectDialog in project tmdm-studio-se by Talend.

the class ProcessViewInputDialog method widgetSelected.

public void widgetSelected(SelectionEvent e) {
    dlg = new XpathSelectDialog(composite.getShell(), treeParent, Messages.ProcessViewXX_SelectOneEntity, site, false, null);
    dlg.setBlockOnOpen(true);
    dlg.open();
    if (dlg.getReturnCode() == Window.OK) {
        text.setText(value + dlg.getEntityName());
        dlg.close();
    }
}
Also used : XpathSelectDialog(com.amalto.workbench.dialogs.XpathSelectDialog)

Example 7 with XpathSelectDialog

use of com.amalto.workbench.dialogs.XpathSelectDialog in project tmdm-studio-se by Talend.

the class RenameViewDialog method widgetSelected.

public void widgetSelected(SelectionEvent e) {
    XpathSelectDialog dlg = new XpathSelectDialog(getShell(), null, Messages.ViewInputDialog_SelectOneEntity, site, false, null);
    dlg.setBlockOnOpen(true);
    dlg.open();
    if (dlg.getReturnCode() == Window.OK) {
        entityText.setText(dlg.getEntityName());
        dlg.close();
    }
}
Also used : XpathSelectDialog(com.amalto.workbench.dialogs.XpathSelectDialog)

Example 8 with XpathSelectDialog

use of com.amalto.workbench.dialogs.XpathSelectDialog in project tmdm-studio-se by Talend.

the class ViewInputDialog method widgetSelected.

public void widgetSelected(SelectionEvent e) {
    dlg = new XpathSelectDialog(composite.getShell(), treeParent, Messages.ViewInputDialog_SelectOneEntity, site, false, null);
    dlg.setBlockOnOpen(true);
    dlg.open();
    if (dlg.getReturnCode() == Window.OK) {
        entityText.setText(value + dlg.getEntityName());
        dlg.close();
    }
}
Also used : XpathSelectDialog(com.amalto.workbench.dialogs.XpathSelectDialog)

Aggregations

XpathSelectDialog (com.amalto.workbench.dialogs.XpathSelectDialog)8 SelectionEvent (org.eclipse.swt.events.SelectionEvent)3 MouseEvent (org.eclipse.swt.events.MouseEvent)2 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)2 SelectionListener (org.eclipse.swt.events.SelectionListener)2 GridData (org.eclipse.swt.layout.GridData)2 GridLayout (org.eclipse.swt.layout.GridLayout)2 Composite (org.eclipse.swt.widgets.Composite)2 PluginDetailsDialog (com.amalto.workbench.dialogs.PluginDetailsDialog)1 SortFieldSelectionFilter (com.amalto.workbench.dialogs.filter.SortFieldSelectionFilter)1 KeyValue (com.amalto.workbench.models.KeyValue)1 TreeParent (com.amalto.workbench.models.TreeParent)1 XPathFunc (com.amalto.workbench.models.XPathFunc)1 XtentisException (com.amalto.workbench.utils.XtentisException)1 WSServiceGetDocument (com.amalto.workbench.webservices.WSServiceGetDocument)1 WSString (com.amalto.workbench.webservices.WSString)1 ConditionWidget (com.amalto.workbench.widgets.ConditionWidget)1 ExtensibleContentEditor (com.amalto.workbench.widgets.xmleditor.ExtensibleContentEditor)1 ExtensibleContentEditorPageListener (com.amalto.workbench.widgets.xmleditor.ExtensibleContentEditorPageListener)1 TextEvent (java.awt.event.TextEvent)1