本文整理了Java中org.eclipse.core.databinding.observable.value.WritableValue.setValue()
方法的一些代码示例,展示了WritableValue.setValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WritableValue.setValue()
方法的具体详情如下:
包路径:org.eclipse.core.databinding.observable.value.WritableValue
类名称:WritableValue
方法名:setValue
暂无
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.core.databinding
@Override
public void run() {
validationStatusObservable.setValue(status);
}
});
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.ca.ui.editor
@Override
public void handleChange ( final ChangeEvent event )
{
ConfigurationEditorInput.this.dirtyValue.setValue ( true );
}
} );
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.ca.ui.editor
public void insertEntry ( final String key, final String value )
{
this.dataMap.put ( key, value );
this.dirtyValue.setValue ( true );
}
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.ca.ui.editor
public void deleteEntry ( final String key )
{
this.dataMap.remove ( key );
this.dirtyValue.setValue ( true );
}
代码示例来源:origin: org.eclipse.recommenders.completion.rcp/calls
@Override
public void selectionChanged(final SelectionChangedEvent event) {
final Optional<Tuple<ClasspathEntryInfo, ModelArchiveMetadata<?, ?>>> e = RCPUtils.first(event
.getSelection());
mValue.setValue(e.get().getSecond());
rValue.setValue(e.get().getFirst());
}
});
代码示例来源:origin: org.eclipse.platform/org.eclipse.core.databinding
private void setValidationStatus(final IStatus status) {
validationStatusObservable.getRealm().exec(() -> validationStatusObservable.setValue(status));
}
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.ca.ui.editor
public void updateEntry ( final String oldKey, final String key, final String value )
{
this.dataMap.setStale ( true );
this.dataMap.remove ( oldKey );
this.dataMap.put ( key, value );
this.dataMap.setStale ( false );
this.dirtyValue.setValue ( true );
}
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.ca.ui.editor
protected void setResult ( final ConfigurationInformation configurationInformation )
{
this.dataMap.setStale ( true );
this.dataMap.clear ();
if ( configurationInformation != null )
{
this.dataMap.putAll ( configurationInformation.getData () );
}
this.dataMap.setStale ( false );
this.dirtyValue.setValue ( false );
}
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.core.di.context
w.setValue(sourceObject.getValue());
sourceObject.subscribeOnValueChange( value -> w.setValue(value));
sourceObject.subscribeOnDispose(value -> w.dispose());
return w;
内容来源于网络,如有侵权,请联系作者删除!