package no.uio.ifi.refaktor.handlers; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.ui.handlers.HandlerUtil; public class TestPropertyExtractorHandler extends AbstractHandler { @Override public Object execute(ExecutionEvent event) throws ExecutionException { String dialogText = null; MessageDialog.openInformation(HandlerUtil.getActiveWorkbenchWindowChecked(event).getShell(), "Test Property Extractor", dialogText); return null; } }