String title = popupSheet.getTitle( ).replace( '&', ' ' ); getWizard( ).attachPopup( title, -1, -1 );
getWizard( ).attachPopup( popupSheet.getTitle( ), -1, -1 );
	public boolean attachPopup( String popupName )	{		// If general selection is null or not existent, to open subtask		// selection.		boolean affectTaskSelection = true;		if ( popupName == null || !popupSheetRegistry.containsKey( popupName ) )		{			popupName = getCurrentPopupSelection( );			// Keep task selection since user doesn't change it			affectTaskSelection = false;		}		// If subtask selection is null, do nothing.		if ( popupName == null )		{			return false;		}		detachPopup( );		if ( popupSheetRegistry.containsKey( popupName ) )		{			// Select the button			selectAllButtons( false );			( (Button) popupButtonRegistry.get( popupName ) ).setSelection( true );			// Store last popup selection			setCurrentPopupSelection( popupName );			if ( affectTaskSelection )			{				getParentTask( ).setPopupSelection( popupName );			}			// Open the popup			popupShell = createPopupShell( );			popupSheet = (ITaskPopupSheet) popupSheetRegistry.get( popupName );			popupSheet.getUI( popupShell );			// Replace accelerator key if it's used			String title = popupSheet.getTitle( ).replace( '&', ' ' );			getWizard( ).attachPopup( title, -1, -1 );			return true;		}		return false;	}