public void hideTreeItemControlDecoration(TreeViewer treeViewer,Object data){
  if (null == treeViewer) {
    return;
  }
  for (  TreeItemControlDecoration decoration : treeItemControlDecorations) {
    if (data == decoration.getData()) {
      decoration.hide();
      return;
    }
  }
}

public void hideTreeItemControlDecoration ( TreeViewer treeViewer , Object data ) { if ( null == treeViewer ) { return ; } for ( TreeItemControlDecoration decoration : treeItemControlDecorations ) { if ( data == decoration . getData ( ) ) { decoration . hide ( ) ; return ; } } }
hides the error decoration for the sensor assignment .
