builds with mvn clean eclipse:eclipse

This commit is contained in:
Kamil Patryk Kozakowski
2024-05-15 17:31:23 +02:00
parent a0481f0bf4
commit 3c81072e72
8 changed files with 154 additions and 20 deletions

View File

@@ -20,8 +20,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>

View File

@@ -11,11 +11,11 @@ public class SampleHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
// IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
// MessageDialog.openInformation(
// window.getShell(),
// "Java Ui",
// "Hello, Eclipse world");
IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
MessageDialog.openInformation(
window.getShell(),
"Java Ui",
"Hello, Eclipse world");
return null;
}
}