@Override
public void run() {
- if (null == resource) {
+ if (null == resource || null == attViewer) {
return;
}
Resource resourceInSelection = resourceManager
Tree tree;
tree = attViewer.getTree();
if (!tree.isDisposed()) {
- attViewer.refresh();
-
// Disabling the table to prevent interactions
// during the automation
tree.setEnabled(false);
tree = attViewer.getTree();
if (!tree.isDisposed()) {
tree.setEnabled(true);
- attViewer.refresh();
}
}
});
&& !(parent instanceof ResourceRepresentation)) {
return "NA";
} else if (attrElement.isReadOnly()) {
- return "Read-only";
+ return "NA";
} else if (attrElement.isAutoUpdateSupport()) {
if (attrElement.isAutoUpdateInProgress())
return Constants.ENABLED;