if (selectionProvider instanceof IPostSelectionProvider) { ((IPostSelectionProvider) selectionProvider).addPostSelectionChangedListener(fPostSelectionListener); selectionProvider.addSelectionChangedListener(fSelectionListener); }
selectionProvider.addSelectionChangedListener(fSelectionListener);
		public void install(ISelectionListenerWithAST listener) {			if (isEmpty()) {				ISelectionProvider selectionProvider= fPart.getSelectionProvider();				if (selectionProvider instanceof IPostSelectionProvider) {					((IPostSelectionProvider) selectionProvider).addPostSelectionChangedListener(fPostSelectionListener);					selectionProvider.addSelectionChangedListener(fSelectionListener);				}			}			fAstListeners.add(listener);		}