This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new extensions and unimplemented command handler to create a new
MOOSE Kernel class by right clicking a 'fork the stork' moose app and selecting New > New MOOSE Kernel from the context menu. Signed-off-by: Alex McCaskey <mccaskeyaj@ornl.gov>
- Loading branch information
Alex McCaskey
committed
Apr 21, 2015
1 parent
3f2f330
commit 5c91b80
Showing
3 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...e.ice.client.widgets.moose/src/org/eclipse/ice/client/widgets/moose/NewKernelHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.eclipse.ice.client.widgets.moose; | ||
|
||
import org.eclipse.core.commands.AbstractHandler; | ||
import org.eclipse.core.commands.ExecutionEvent; | ||
import org.eclipse.core.commands.ExecutionException; | ||
|
||
public class NewKernelHandler extends AbstractHandler { | ||
|
||
/** | ||
* (non-Javadoc) | ||
* | ||
* @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent) | ||
*/ | ||
@Override | ||
public Object execute(ExecutionEvent event) throws ExecutionException { | ||
|
||
|
||
System.out.println("HELLO WORLD FROM NEW KERNEL HANDLER"); | ||
return null; | ||
} | ||
|
||
} |