Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@97736 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3009db4c96
commit
57263d9117
|
@ -492,7 +492,7 @@ public class ValidationsTasksPanel extends FramedPanel implements ResumeDialogLi
|
|||
|
||||
});
|
||||
contextMenu.add(resumeItem);
|
||||
contextMenu.setVisible(false);
|
||||
contextMenu.setEnabled(false);
|
||||
tree.setContextMenu(contextMenu);
|
||||
|
||||
tree.addBeforeShowContextMenuHandler(new BeforeShowContextMenuHandler() {
|
||||
|
@ -512,7 +512,7 @@ public class ValidationsTasksPanel extends FramedPanel implements ResumeDialogLi
|
|||
if (v.getValid()) {
|
||||
contextMenu.clear();
|
||||
contextMenu.add(resumeItem);
|
||||
contextMenu.setVisible(true);
|
||||
contextMenu.setEnabled(true);
|
||||
tree.setContextMenu(contextMenu);
|
||||
} else {
|
||||
InvocationS invocationS = v.getInvocation();
|
||||
|
@ -522,24 +522,24 @@ public class ValidationsTasksPanel extends FramedPanel implements ResumeDialogLi
|
|||
contextMenu.clear();
|
||||
contextMenu.add(resolveItem);
|
||||
contextMenu.add(resumeItem);
|
||||
contextMenu.setVisible(true);
|
||||
contextMenu.setEnabled(true);
|
||||
tree.setContextMenu(contextMenu);
|
||||
} else {
|
||||
contextMenu.clear();
|
||||
contextMenu.add(resumeItem);
|
||||
contextMenu.setVisible(true);
|
||||
contextMenu.setEnabled(true);
|
||||
tree.setContextMenu(contextMenu);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
contextMenu.clear();
|
||||
contextMenu.setVisible(false);
|
||||
contextMenu.setEnabled(false);
|
||||
tree.setContextMenu(contextMenu);
|
||||
}
|
||||
|
||||
} else {
|
||||
contextMenu.clear();
|
||||
contextMenu.setVisible(false);
|
||||
contextMenu.setEnabled(false);
|
||||
tree.setContextMenu(contextMenu);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue