From 9c47d53f1cc3fca2a17cf838228f7d2c155e6f37 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 28 Feb 2013 18:15:05 +0000 Subject: [PATCH] moved down Configuration class git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/rmp-common-library@70615 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../support/shared/util/Configuration.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/main/java/org/gcube/resourcemanagement/support/shared/util/Configuration.java diff --git a/src/main/java/org/gcube/resourcemanagement/support/shared/util/Configuration.java b/src/main/java/org/gcube/resourcemanagement/support/shared/util/Configuration.java new file mode 100644 index 0000000..763dffd --- /dev/null +++ b/src/main/java/org/gcube/resourcemanagement/support/shared/util/Configuration.java @@ -0,0 +1,39 @@ +/**************************************************************************** + * This software is part of the gCube Project. + * Site: http://www.gcube-system.org/ + **************************************************************************** + * The gCube/gCore software is licensed as Free Open Source software + * conveying to the EUPL (http://ec.europa.eu/idabc/eupl). + * The software and documentation is provided by its authors/distributors + * "as is" and no expressed or + * implied warranty is given for its use, quality or fitness for a + * particular case. + **************************************************************************** + * Filename: Configuration.java + **************************************************************************** + * @author Daniele Strollo + ***************************************************************************/ + +package org.gcube.resourcemanagement.support.shared.util; + +/** + * The client side UI configuration. + * @author Daniele Strollo (ISTI-CNR) + */ +public class Configuration { + // Delay of popups in mills + public static final int popupDelay = 4000; + // Configuration parameters that can be changed through options + // menu. + public static boolean openProfileOnLoad = false; + public static boolean allowMultipleProfiles = false; + //public static String scopeFile = null; + + public static final String SUPER_USER_CODE = "gcube2010"; + /* + * Forces to use flash based charts also in portal mode. + * Due to conflicts in the portal with the flash based + * charts this functionality usually is avoided. + */ + public static final boolean DISABLE_FLASH = false; +}