fAssistant= assistant; fAssistant.addCompletionListener(new ICompletionListener() {   public void assistSessionStarted(ContentAssistEvent event) { if (event.processor != ContentAssistProcessor.this) return;  fCategoryIteration= getCategoryIteration(); fRepetition= 0; fIterationGesture= getIterationGesture(); if (fCategoryIteration.size() == 1) { event.assistant.setCyclingMode(false); event.assistant.setShowEmptyList(false); } else { event.assistant.setCyclingMode(true); event.assistant.setMessage(createIterationMessage()); event.assistant.setShowEmptyList(true); } }   public void assistSessionEnded(ContentAssistEvent event) { if (event.processor != ContentAssistProcessor.this) return;  fCategoryIteration= null; fRepetition= -1; fIterationGesture= null; event.assistant.setShowEmptyList(false); event.assistant.setCyclingMode(false); }  });
	public ContentAssistProcessor(String partition) {		Assert.isNotNull(partition);		fPartition= partition;		fCategories= CompletionProposalComputerRegistry.getDefault().getProposalCategories();	}