org.eclipse.core.databinding.observable.set.WritableSet.isEmpty()方法的使用及代码示例

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

本文整理了Java中org.eclipse.core.databinding.observable.set.WritableSet.isEmpty()方法的一些代码示例,展示了WritableSet.isEmpty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WritableSet.isEmpty()方法的具体详情如下:
包路径:org.eclipse.core.databinding.observable.set.WritableSet
类名称:WritableSet
方法名:isEmpty

WritableSet.isEmpty介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.da.ui.connection

@Override
public boolean isEmpty ()
{
  return this.data.isEmpty ();
}

代码示例来源:origin: de.dentrassi.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection

protected void removePath ( final List<String> path, final ConnectionHolder holder )
{
  if ( path.isEmpty () )
  {
    // remove
    this.implNode.getConnections ().remove ( holder );
    if ( this.implNode.getConnections ().isEmpty () && this.parentNode != null )
    {
      this.parentNode.notifyEmpty ( this, this.implNode.getName () );
    }
  }
  else
  {
    // pass on
    final String name = path.remove ( 0 );
    final GroupChildNode child = this.children.get ( name );
    if ( child != null )
    {
      child.removePath ( path, holder );
    }
  }
}

代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection

protected void removePath ( final List<String> path, final ConnectionHolder holder )
{
  if ( path.isEmpty () )
  {
    // remove
    this.implNode.getConnections ().remove ( holder );
    if ( this.implNode.getConnections ().isEmpty () && this.parentNode != null )
    {
      this.parentNode.notifyEmpty ( this, this.implNode.getName () );
    }
  }
  else
  {
    // pass on
    final String name = path.remove ( 0 );
    final GroupChildNode child = this.children.get ( name );
    if ( child != null )
    {
      child.removePath ( path, holder );
    }
  }
}

相关文章