if (proposal instanceof IStatusLineProposal) { IStatusLineProposal statusLineProposal= (IStatusLineProposal)proposal; String message= statusLineProposal.getStatusMessage(); if (message != null) { fAssistant.setStatusMessage(message); } else { fAssistant.setStatusMessage(""); } } else { fAssistant.setStatusMessage(""); }
	public JavaCorrectionProcessor(JavaCorrectionAssistant assistant) {		fAssistant= assistant;		fAssistant.addCompletionListener(new ICompletionListener() {					public void assistSessionEnded(ContentAssistEvent event) {				if (event.assistant instanceof IContentAssistantExtension2) {					IContentAssistantExtension2 statusAssistant= (IContentAssistantExtension2)event.assistant;					statusAssistant.setStatusLineVisible(false);				}			}					public void assistSessionStarted(ContentAssistEvent event) {				if (event.assistant instanceof IContentAssistantExtension2) {					IContentAssistantExtension2 statusAssistant= (IContentAssistantExtension2)event.assistant;					statusAssistant.setStatusLineVisible(true);				}			}			public void selectionChanged(ICompletionProposal proposal, boolean smartToggle) {			}		});	}