protected void handleAgentNameSearchButtonSelected ( ) { final IType [ ] types = searchAgentNames ( ) ; // Ask to the user final DebugTypeSelectionDialog mmsd = new DebugTypeSelectionDialog ( getShell ( ) , types , "" ) ; //$NON-NLS-1$ if ( mmsd . open ( ) == Window . CANCEL ) { return ; } final IType type = ( IType ) mmsd . getFirstResult ( ) ; if ( type != null ) { this . agentNameTextField . setText ( type . getFullyQualifiedName ( ) ) ; this . fProjText . setText ( type . getJavaProject ( ) . getElementName ( ) ) ; } }
Invoked when the search button for the agent agent was clocked .