Package com.subgraph.vega.ui.scanner.alerts.tree

Examples of com.subgraph.vega.ui.scanner.alerts.tree.AlertTitleNode


          displayAlert(alert);
        } else if (o instanceof AlertScanNode) {
          final AlertScanNode node = (AlertScanNode) o;
          displayScanSummary(node.getScanInstance());
        } else if (o instanceof AlertTitleNode) {
          final AlertTitleNode node = (AlertTitleNode) o;
          if(node.getAlertCount() == 1) {
            displayAlert(node.getFirstAlert());
          }
        }
      }
    });
   
    stackLayout.topControl = dashboard;
    contentPanel.layout();
   
    final IModel model = Activator.getDefault().getModel();
    if(model != null) {
      setCurrentWorkspace(model.addWorkspaceListener(this));
    }
    IStructuredSelection selection = (IStructuredSelection) getSite().getPage().getSelection(ScanAlertView.ID);
    if(selection != null && selection.getFirstElement() instanceof AlertScanNode) {
      AlertScanNode node = (AlertScanNode) selection.getFirstElement();
      displayScanSummary(node.getScanInstance());
    }
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.ui.scanner.alerts.tree.AlertTitleNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.