*/
protected TargetNodeComponent fTargetNode = null;
- // ------------------------------------------------------------------------
- // Constructors
- // ------------------------------------------------------------------------
-
- // ------------------------------------------------------------------------
- // Accessors
- // ------------------------------------------------------------------------
- public TargetNodeComponent getTargetNode() {
- return fTargetNode;
- }
-
// ------------------------------------------------------------------------
// Operations
// ------------------------------------------------------------------------
return false;
}
- // Check if a project is selected
+ // Check if the node component is selected
ISelection selection = page.getSelection(ControlView.ID);
if (selection instanceof StructuredSelection) {
Object element = ((StructuredSelection) selection).getFirstElement();