[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Getting an instance of org.eclipse.php.internal.ui.explorer.ExplorerPart

Hi,

I need to get an instance of ExplorerPart for my own custom plug-in in
order to refresh PHP Explorer view.
So far I access it with
Workbench.getInstance().getActiveWorkbenchWindow().getPartService().getActivePart().getSite()
while the active view is the PHP Explorer.

I was wondering if there is a smarter to do get this instance ?
In the jdt explorer there is a getFromActivePerspective() method and
I'm looking for something similar: ExplorerPart phpExplorer =
ExplorerPart.getFromActivePerspective();

Best regards,

William

-- 
William Candillon
http://phpaspect.org