public static String getDroolsDateTimeFormat() { return getStringPref( DATE_TIME_FORMAT ); }
public static void setUp( Map<String, String> map ) { instance = new ApplicationPreferences( map ); }
private boolean isIncrementalBuildEnabled() { final String value = appConfigService.loadPreferences().get( INCREMENTAL_BUILD_PROPERTY_NAME ); return Boolean.parseBoolean( value ); }
private void sendNewComment( final String text ) { newCommentLayout.clear(); newCommentLayout.add( new Image( ImageResources.INSTANCE.spinner() ) ); MessageBuilder.createCall( new RemoteCallback<Long>() { public void callback( final Long timestamp ) { showNewCommentButton(); metadata.addDiscussion( new DiscussionRecord( timestamp, identity.getName(), text ) ); makeDirty(); updateCommentList(); } }, AppConfigService.class ).getTimestamp(); } }
public static String getDroolsDateFormat() { return getStringPref( DATE_FORMAT ); }