Commit 45d08f98 authored by Adrien's avatar Adrien Committed by Romain Bioteau

fix(groovy menu) Consistency between Groovy creation entry points (#1764)

[BST-263](https://bonitasoft.atlassian.net/browse/BST-263)
parent 8f5b6af9
......@@ -54,7 +54,7 @@ connectorDef=Connector definition...
connectorImpl=Connector implementation...
actorFilterDef=Actor filter definition...
actorFilterImpl=Actor filter implementation...
groovyClass=Groovy class...
newGroovy=Groovy...
theme=Theme...
importDragDropInfoTitle=Import Drag & Drop
importDragDropInfo=You can import a Bos archive by dropping it in the Bonita project explorer.\nOther files are ignored.
......@@ -178,7 +178,7 @@ public class NewCoolbarItem extends ContributionItem implements IBonitaContribut
listener.add("org.bonitasoft.studio.actors.newFilterDef", Messages.actorFilterDef);
listener.add("org.bonitasoft.studio.actors.newFilterImpl", Messages.actorFilterImpl);
listener.addSeparator();
listener.add("org.bonitasoft.studio.groovy.ui.newScript", Messages.groovyClass);
listener.add("org.bonitasoft.studio.groovy.ui.newScript", Messages.newGroovy);
listener.widgetSelected(e);
}
}
......
......@@ -89,7 +89,7 @@ public class Messages extends NLS {
public static String connectorImpl;
public static String actorFilterDef;
public static String actorFilterImpl;
public static String groovyClass;
public static String newGroovy;
public static String theme;
public static String importDragDropInfoTitle;
......
......@@ -23,7 +23,7 @@ warningAssigningAVariableWithSameNameAsProcessVariable={0} is a process variable
maxScriptLengthTitle=Max script length
maxScriptLength=The max length for a groovy script in Bonita Studio is 64 kilobytes.\nYou reached this limit, additional characters won't be saved.\nWe suggest you to split your business logic in several scripts.
onlyReadOnly=\u26A0 Bonita API should only be used for <a>read only calls</a> in groovy scripts.
createNewGroovyClass=Create a new Groovy class
createNewGroovyFile=Create a new Groovy file
open=Open
openExistingGroovyScript=Open existing Groovy scripts
openExistingGroovyScriptDescription=Open existing Groovy scripts and edit them with a Groovy editor.
......
GroovyClass=Groovy class...
newGroovy=Groovy...
groovyScript=Groovy
open=Open...
new=New...
......
......@@ -37,6 +37,7 @@
</separator>
<command
commandId="org.bonitasoft.studio.groovy.ui.newScript"
label="%newGroovy"
style="push">
<visibleWhen
checkEnabled="false">
......@@ -84,7 +85,7 @@
point="org.eclipse.ui.commands">
<command
id="org.bonitasoft.studio.groovy.ui.newScript"
name="%GroovyClass">
name="%newGroovy">
</command>
</extension>
<extension
......@@ -147,7 +148,7 @@
point="org.eclipse.ui.commandImages">
<image
commandId="org.bonitasoft.studio.groovy.ui.newScript"
icon="icons/newgroovyclass_wiz.gif">
icon="icons/groovy_file.gif">
</image>
</extension>
<extension
......
......@@ -70,7 +70,7 @@ public final class Messages extends NLS {
public static String onlyReadOnly;
public static String createNewGroovyClass;
public static String createNewGroovyFile;
public static String open;
......
......@@ -28,7 +28,7 @@ public class NewGroovyClassWizard extends NewTypeWizard {
public NewGroovyClassWizard() {
super();
setWindowTitle(Messages.createNewGroovyClass);
setWindowTitle(Messages.createNewGroovyFile);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment