| 1 | version = '1.0.10' | |
| 1 | version = '1.0.11' | |
| 2 | 2 | |
| 3 | 3 | apply plugin: 'java' |
| ... | ||
| 38 | 38 | compile 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3' |
| 39 | 39 | compile 'org.apache.commons:commons-configuration2:2.1' |
| 40 | compile files('libs/renjin-script-engine-0.8.2300-jar-with-dependencies.jar') | |
| 40 | compile files('libs/renjin-script-engine-0.8.2309-jar-with-dependencies.jar') | |
| 41 | 41 | } |
| 42 | 42 | |
| 53 | 53 | // Bootstrapping... |
| 54 | 54 | public static final String SETTINGS_NAME = "/com/scrivenvar/settings.properties"; |
| 55 | ||
| 55 | ||
| 56 | 56 | public static final String APP_TITLE = get( "application.title" ); |
| 57 | 57 | public static final String APP_BUNDLE_NAME = get( "application.messages" ); |
| ... | ||
| 87 | 87 | public static final String DEFINITION_PROTOCOL_UNKNOWN = "unknown"; |
| 88 | 88 | public static final String DEFINITION_PROTOCOL_FILE = "file"; |
| 89 | ||
| 89 | ||
| 90 | 90 | // Takes two parameters: line number and column number. |
| 91 | 91 | public static final String STATUS_BAR_LINE = "Main.statusbar.line"; |
| 92 | 92 | // "OK" text |
| 93 | public static final String STATUS_BAR_DEFAULT = "Main.statusbar.state.default"; | |
| 93 | public static final String STATUS_BAR_DEFAULT = get( "Main.statusbar.state.default" ); | |
| 94 | 94 | } |
| 95 | 95 | |
| 28 | 28 | package com.scrivenvar.service.events.impl; |
| 29 | 29 | |
| 30 | import static com.scrivenvar.Constants.STATUS_BAR_DEFAULT; | |
| 30 | 31 | import com.scrivenvar.service.events.Notification; |
| 31 | 32 | import com.scrivenvar.service.events.Notifier; |
| ... | ||
| 79 | 80 | public void clear() { |
| 80 | 81 | setChanged(); |
| 81 | notifyObservers( "OK" ); | |
| 82 | notifyObservers( STATUS_BAR_DEFAULT ); | |
| 82 | 83 | } |
| 83 | 84 | |