protected void actionPerformed(PhpModule pm) {
if (!WPUtils.isWP(pm)) {
// called via shortcut
return;
}
MimePath mimePath = MimePath.parse(FileUtils.PHP_MIME_TYPE);
Collection<? extends CompletionProvider> providers = MimeLookup.getLookup(mimePath).lookupAll(CompletionProvider.class);
for (CompletionProvider provider : providers) {
if (provider instanceof FilterAndActionCompletion) {
FilterAndActionCompletion completion = (FilterAndActionCompletion) provider;
completion.refresh();