Révision 3844
TXM/trunk/bundles/org.txm.groovy.rcp/src/org/txm/groovy/rcp/GroovyPreferencePage.java (revision 3844) | ||
---|---|---|
17 | 17 |
protected void createFieldEditors() { |
18 | 18 |
//this.addField(new StringFieldEditor(GroovyPreferences.ADDITIONAL_ROOT_DIRECTORY, "Additional root directory", this.getFieldEditorParent())); |
19 | 19 |
|
20 |
this.addField(new BooleanFieldEditor(GroovyPreferences.FAST_PACKAGE_INDEX, "Use fast package index (speed-up scripts compilation)", this.getFieldEditorParent()));
|
|
20 |
this.addField(new BooleanFieldEditor(GroovyPreferences.FAST_PACKAGE_INDEX, Messages.UseTheFastPackageIndexMode, this.getFieldEditorParent()));
|
|
21 | 21 |
} |
22 | 22 |
|
23 | 23 |
@Override |
TXM/trunk/bundles/org.txm.groovy.rcp/src/org/txm/groovy/rcp/messages.properties (revision 3844) | ||
---|---|---|
1 |
UseTheFastPackageIndexMode=Use fast package index (speed-up scripts compilation) |
|
0 | 2 |
TXM/trunk/bundles/org.txm.groovy.rcp/src/org/txm/groovy/rcp/Messages.java (revision 3844) | ||
---|---|---|
1 |
package org.txm.groovy.rcp; |
|
2 |
|
|
3 |
import org.eclipse.osgi.util.NLS; |
|
4 |
|
|
5 |
public class Messages extends NLS { |
|
6 |
private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$ |
|
7 |
public static String UseTheFastPackageIndexMode; |
|
8 |
static { |
|
9 |
// initialize resource bundle |
|
10 |
NLS.initializeMessages(BUNDLE_NAME, Messages.class); |
|
11 |
} |
|
12 |
|
|
13 |
private Messages() { |
|
14 |
} |
|
15 |
} |
|
0 | 16 |
Formats disponibles : Unified diff