securityScanPopUp = new JPopupMenu();
securityScanPopUp.add( enableDisableSecurityScan = new EnableDisableSecurityScan() );
securityScanPopUp.add( configureSecurityScanAction );
securityScanPopUp.addSeparator();
securityScanPopUp.add( removeSecurityScanAction );
showOnlineHelpAction = new ShowOnlineHelpAction( HelpUrls.RESPONSE_ASSERTIONS_HELP_URL );
securityScanPopUp.add( showOnlineHelpAction );
securityScanWithPropertiesPopUp = new JPopupMenu();
securityScanWithPropertiesPopUp.add( enableDisableSecurityScan );
securityScanWithPropertiesPopUp.add( configureSecurityScanAction );
securityScanWithPropertiesPopUp.add( cloneParametersAction );
securityScanWithPropertiesPopUp.addSeparator();
securityScanWithPropertiesPopUp.add( removeSecurityScanAction );
securityScanWithPropertiesPopUp.add( showOnlineHelpAction );
multySecurityScanPopUp = new JPopupMenu();
enableSecurityScansAction = new EnableSecurityScans();
disableSecurityScansAction = new DisableSecurityScans();
populateMultySecurityScanPopup( true, true );
multySecurityScanPopUp.addPopupMenuListener( new PopupMenuListener()
{
@Override
public void popupMenuWillBecomeVisible( PopupMenuEvent arg0 )
{
multypopupvisible = true;
}
@Override
public void popupMenuWillBecomeInvisible( PopupMenuEvent arg0 )
{
// TODO Auto-generated method stub
}
@Override
public void popupMenuCanceled( PopupMenuEvent arg0 )
{
// TODO Auto-generated method stub
}
} );
testStepPopUp = new JPopupMenu();
initTestStepPopUpActions();
testStepPopUp.addSeparator();
testStepPopUp.add( new ShowOnlineHelpAction( HelpUrls.RESPONSE_ASSERTIONS_HELP_URL ) );
treeModel = new SecurityScanTree( securityTest, new SecurityTreeRootNode( securityTest ) );
securityTestTree = new JXTree( treeModel );
securityTestTree.putClientProperty( "JTree.lineStyle", "None" );
securityTestTree.setUI( new CustomTreeUI() );