projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed an IndexOutOfBoundsException
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
nature
/
AddMograsimNatureHandler.java
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/AddMograsimNatureHandler.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/AddMograsimNatureHandler.java
index
f4d0357
..
aa5d5d6
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/AddMograsimNatureHandler.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/AddMograsimNatureHandler.java
@@
-43,7
+43,7
@@
public class AddMograsimNatureHandler extends AbstractHandler
{
try
{
{
try
{
- ms.add(
toggle
Nature(project));
+ ms.add(
add
Nature(project));
}
catch (CoreException e)
{
}
catch (CoreException e)
{
@@
-63,7
+63,7
@@
public class AddMograsimNatureHandler extends AbstractHandler
* @param project to have Mograsim nature
* @return
*/
* @param project to have Mograsim nature
* @return
*/
- p
rivate IStatus toggle
Nature(IProject project) throws CoreException
+ p
ublic static IStatus add
Nature(IProject project) throws CoreException
{
IProjectDescription description = project.getDescription();
String[] natures = description.getNatureIds();
{
IProjectDescription description = project.getDescription();
String[] natures = description.getNatureIds();