org.eclipse.core.databinding.observable.value.WritableValue.setValue()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(101)

本文整理了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

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;

相关文章