List of usage examples for org.eclipse.jface.databinding.swt SWTObservables observeText
@Deprecated public static ISWTObservableValue observeText(Control control, int event)
control
. From source file:com.jaspersoft.studio.data.hive.server.DatasourceHivePageContent.java
License:Open Source License
@Override protected void rebind() { ResourceProperty resprop = ResourceDescriptorUtil.getProperty( MRDatasourceCustom.PROP_DATASOURCE_CUSTOM_PROPERTY_MAP, res.getValue().getProperties()); resprop = ResourceDescriptorUtil.getProperty(MRDatasourceHadoopHive.JDBC_URL, resprop.getProperties()); bindingContext.bindValue(SWTObservables.observeText(tname, SWT.Modify), PojoObservables.observeValue(resprop, "value")); //$NON-NLS-1$ }
From source file:com.jaspersoft.studio.data.xvia.TrackViaDataAdapterComposite.java
License:Open Source License
@Override protected void bindWidgets(DataAdapter dataAdapter) { bindingContext.bindValue(SWTObservables.observeText(trackviaUriField, SWT.Modify), PojoObservables.observeValue(dataAdapter, "trackViaURI")); //$NON-NLS-1$ bindingContext.bindValue(SWTObservables.observeText(usernameField, SWT.Modify), PojoObservables.observeValue(dataAdapter, "username")); //$NON-NLS-1$ bindingContext.bindValue(SWTObservables.observeText(passwordField, SWT.Modify), PojoObservables.observeValue(dataAdapter, "password")); //$NON-NLS-1$ }
From source file:com.jaspersoft.studio.server.properties.CommonSection.java
License:Open Source License
protected void bind() { bindingContext.bindValue(SWTObservables.observeText(tparent, SWT.NONE), PojoObservables.observeValue(res.getValue(), "parentFolder")); bindingContext.bindValue(SWTObservables.observeText(tid, SWT.Modify), PojoObservables.observeValue(res.getValue(), "name")); bindingContext.bindValue(SWTObservables.observeText(tcdate, SWT.NONE), PojoObservables.observeValue(res.getValue(), "creationDate")); bindingContext.bindValue(SWTObservables.observeText(ttype, SWT.NONE), PojoObservables.observeValue(res.getValue(), "wsType")); bindingContext.bindValue(SWTObservables.observeText(tname, SWT.Modify), PojoObservables.observeValue(res.getValue(), "label")); bindingContext.bindValue(SWTObservables.observeText(tdesc, SWT.Modify), PojoObservables.observeValue(res.getValue(), "description")); }
From source file:com.jaspersoft.studio.server.properties.DatasourceBeanSection.java
License:Open Source License
@Override protected void bind() { bindingContext.bindValue(SWTObservables.observeText(tname, SWT.Modify), PojoObservables.observeValue(res.getValue(), "beanName")); bindingContext.bindValue(SWTObservables.observeText(tmethod, SWT.Modify), PojoObservables.observeValue(res.getValue(), "beanMethod")); }
From source file:com.jaspersoft.studio.server.properties.DatasourceJDBCSection.java
License:Open Source License
@Override protected void bind() { bindingContext.bindValue(SWTObservables.observeText(tdriver, SWT.Modify), PojoObservables.observeValue(res.getValue(), "driverClass")); bindingContext.bindValue(SWTObservables.observeText(turl, SWT.Modify), PojoObservables.observeValue(res.getValue(), "connectionUrl")); bindingContext.bindValue(SWTObservables.observeText(tuser, SWT.Modify), PojoObservables.observeValue(res.getValue(), "username")); bindingContext.bindValue(SWTObservables.observeText(tpass, SWT.Modify), PojoObservables.observeValue(res.getValue(), "password")); }
From source file:com.jaspersoft.studio.server.properties.DatasourceJNDISection.java
License:Open Source License
@Override protected void bind() { bindingContext.bindValue(SWTObservables.observeText(tname, SWT.Modify), PojoObservables.observeValue(res.getValue(), "jndiName")); }
From source file:com.jaspersoft.studio.server.properties.DataTypeSection.java
License:Open Source License
protected void bind() { bindingContext.bindValue(SWTObservables.observeText(tpattern, SWT.Modify), PojoObservables.observeValue(res.getValue(), "pattern")); bindingContext.bindValue(SWTObservables.observeText(tmin, SWT.Modify), PojoObservables.observeValue(res.getValue(), "minValue")); bindingContext.bindValue(SWTObservables.observeText(tmax, SWT.Modify), PojoObservables.observeValue(res.getValue(), "maxValue")); bindingContext.bindValue(SWTObservables.observeSelection(bmin), PojoObservables.observeValue(res.getValue(), "strictMin")); bindingContext.bindValue(SWTObservables.observeSelection(bmax), PojoObservables.observeValue(res.getValue(), "strictMax")); bindingContext.bindValue(SWTObservables.observeSingleSelectionIndex(ttype), PojoObservables.observeValue(getProxy(res.getValue()), "dataType")); }
From source file:com.jaspersoft.studio.server.properties.ReferenceSection.java
License:Open Source License
@Override protected void bind() { bindingContext.bindValue(SWTObservables.observeText(trefuri, SWT.NONE), PojoObservables.observeValue(res.getValue(), "referenceUri")); }
From source file:com.jaspersoft.studio.server.properties.ReportUnitSection.java
License:Open Source License
@Override protected void bind() { ReportProxy v = getProxy(res.getValue()); bindingContext.bindValue(SWTObservables.observeSingleSelectionIndex(cictype), PojoObservables.observeValue(v, "layoutControl")); bindingContext.bindValue(SWTObservables.observeText(jspview, SWT.Modify), PojoObservables.observeValue(v, "jspView")); bindingContext.bindValue(SWTObservables.observeText(jspic, SWT.Modify), PojoObservables.observeValue(v, "jspIC")); bindingContext.bindValue(SWTObservables.observeSelection(ispromp), PojoObservables.observeValue(v, "allowPrompt")); }
From source file:com.jaspersoft.studio.server.wizard.resource.page.runit.ReportUnitOptionsContent.java
License:Open Source License
@Override protected void rebind() { resprop = ResourceDescriptorUtil.getProperty(MReportUnitOptions.PROP_RU_URI, res.getValue().getProperties()); bindingContext.bindValue(SWTObservables.observeText(tname, SWT.Modify), PojoObservables.observeValue(resprop, "value")); //$NON-NLS-1$ }