ITextSelection textSelection = (ITextSelection) fEditor
.getSelectionProvider().getSelection();
IDocument document = DLTKUIPlugin.getDocumentProvider().getDocument(
fEditor.getEditorInput());
ModelTextSelection phpSelection = new ModelTextSelection(element,
document, textSelection.getOffset(), textSelection.getLength());
// fExceptionOccurrencesAction.update(javaSelection);
// fOccurrencesInFileAction.update(javaSelection);
// fFindImplementorOccurrencesAction.update(javaSelection);