JIDE 3.5.15

com.jidesoft.utils
Class Lm

java.lang.Object
  extended by com.jidesoft.utils.Lm
All Implemented Interfaces:
ProductNames

public final class Lm
extends Object
implements ProductNames

License manager.

The only public method that user needs to use is verifyLicense(String, String, String).


Field Summary
static boolean ACTION_DEBUG
           
static boolean AF_DEBUG
          Deprecated. no longer used
static boolean BEAN_INTROSPECTOR_DEBUG
           
static boolean BP_DEBUG
          Deprecated. no longer used
static boolean CB_DEBUG
          Deprecated. no longer used
static boolean CM_DEBUG
          Deprecated. no longer used
static boolean COMBOBOX_DEBUG
           
static boolean COMPONENT_DEBUG
           
static boolean DEBUG
          Deprecated. no longer used
static boolean DEMO
           
static boolean DOC_DEBUG
          Deprecated. no longer used
static boolean DOCK_DEBUG
           
static boolean DOCK_ID_DEBUG
           
static boolean HG_DEBUG
          Deprecated. no longer used
static boolean ID_DEBUG
          Deprecated. no longer used
static boolean PG_DEBUG
          Deprecated. no longer used
static boolean PROPERTY_TABLE_DEBUG
           
static boolean RA_DEBUG
          Deprecated. no longer used
 
Fields inherited from interface com.jidesoft.utils.ProductNames
COMPONENT_PRODUCTS, PRODUCT_ACTION, PRODUCT_ALL, PRODUCT_CHARTS, PRODUCT_CODE_EDITOR, PRODUCT_COMMON, PRODUCT_COMPONENTS, PRODUCT_DASHBOARD, PRODUCT_DATAGRIDS, PRODUCT_DIALOGS, PRODUCT_DIFF, PRODUCT_DOCK, PRODUCT_ENTERPRISE_SUITE, PRODUCT_FEEDREADER, PRODUCT_GANTT_CHART, PRODUCT_GRIDS, PRODUCT_JDAF, PRODUCT_NAME_ACTION, PRODUCT_NAME_CHARTS, PRODUCT_NAME_CODE_EDITOR, PRODUCT_NAME_COMMON, PRODUCT_NAME_COMPONENTS, PRODUCT_NAME_DASHBOARD, PRODUCT_NAME_DATAGRIDS, PRODUCT_NAME_DIALOGS, PRODUCT_NAME_DIFF, PRODUCT_NAME_DOCK, PRODUCT_NAME_FEEDREADER, PRODUCT_NAME_GANTT_CHART, PRODUCT_NAME_GRIDS, PRODUCT_NAME_JDAF, PRODUCT_NAME_PIVOT, PRODUCT_NAME_SHORTCUT, PRODUCT_NAME_TREEMAP, PRODUCT_PIVOT, PRODUCT_PROFESSIONAL_SUITE, PRODUCT_SHORTCUT, PRODUCT_SOLUTION, PRODUCT_TREEMAP, PRODUCT_ULTIMATE_SUITE, SOLUTION_PRODUCTS
 
Constructor Summary
Lm()
           
 
Method Summary
static void clearLicense()
          Clears the license information.
protected static String getProductName(int[] products)
           
static String getProductVersion()
          Gets the product version.
static void getUIError(String componentName)
           
static void main(String[] args)
           
static void setParent(JFrame parent)
          Sets a parent frame for any message boxes from this class.
static void showAboutMessageBox()
           
static boolean showDemoMessageBoxDocking()
           
static void showInvalidProductMessage(String className, int productName)
           
static void showPopupMessageBox(String message)
           
static void verifyLicense(String companyName, String projectName, String licenseKey)
          Verifies the license key.
static void z()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

DOC_DEBUG

public static final boolean DOC_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

CM_DEBUG

public static final boolean CM_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

RA_DEBUG

public static final boolean RA_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

ID_DEBUG

public static final boolean ID_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

PG_DEBUG

public static final boolean PG_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

CB_DEBUG

public static final boolean CB_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

HG_DEBUG

public static final boolean HG_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

AF_DEBUG

public static final boolean AF_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

BP_DEBUG

public static final boolean BP_DEBUG
Deprecated. no longer used
See Also:
Constant Field Values

DOCK_DEBUG

public static final boolean DOCK_DEBUG
See Also:
Constant Field Values

DOCK_ID_DEBUG

public static final boolean DOCK_ID_DEBUG
See Also:
Constant Field Values

ACTION_DEBUG

public static final boolean ACTION_DEBUG
See Also:
Constant Field Values

COMPONENT_DEBUG

public static final boolean COMPONENT_DEBUG
See Also:
Constant Field Values

PROPERTY_TABLE_DEBUG

public static final boolean PROPERTY_TABLE_DEBUG
See Also:
Constant Field Values

COMBOBOX_DEBUG

public static final boolean COMBOBOX_DEBUG
See Also:
Constant Field Values

BEAN_INTROSPECTOR_DEBUG

public static final boolean BEAN_INTROSPECTOR_DEBUG
See Also:
Constant Field Values

DEMO

public static final boolean DEMO
See Also:
Constant Field Values
Constructor Detail

Lm

public Lm()
Method Detail

getProductVersion

public static String getProductVersion()
Gets the product version. We used the same version number for all JIDE products. So you will get a version string that applies to all JIDE products. It's in the format of x.x.x.xx. or x.x.x. Those numbers are milestone version, major version, minor version and patch version respectively.

Returns:
the product version.

showDemoMessageBoxDocking

public static boolean showDemoMessageBoxDocking()

showAboutMessageBox

public static void showAboutMessageBox()

getProductName

protected static String getProductName(int[] products)

showInvalidProductMessage

public static void showInvalidProductMessage(String className,
                                             int productName)

z

public static void z()

verifyLicense

public static void verifyLicense(String companyName,
                                 String projectName,
                                 String licenseKey)
Verifies the license key.

In order to use our product without the license key warning dialog, you need to get a license key from us. The license key will only enable you to use the products you purchased.

To get the license key, please send email to support@jidesoft.com. We need following two things from you in order to generate a license key. So please make sure you have the two things in the email when asking for the license key.


1. Company name. If you purchase this product as person, your name is also fine.
2. The project/product name where JIDE products are used. We need this in order to differentiate in case there are two projects in the same company using JIDE.

Once you get the license key from us, just add this line to the beginning of your application's main method.


     com.jidesoft.utils.Lm.verifyLicense("COMPANY NAME", "PROJECT NAME", "LICENSE KEY");
 

It will work in most cases. Sometimes you might use one of our components as static field which will get initialized before the main method. In this case, you can add a static block before that field.


 static {
     com.jidesoft.utils.Lm.verifyLicense("COMPANY NAME", "PROJECT NAME", "LICENSE KEY");
 }
 

Parameters:
companyName - your company name. If you purchased this product for personal usage, you can use your name as well.
projectName - your project name. It is the project or product where you will use JIDE products.
licenseKey - the license key we sent to you by email.

clearLicense

public static void clearLicense()
Clears the license information.


setParent

public static void setParent(JFrame parent)
Sets a parent frame for any message boxes from this class. You don't need to call it in your application.

Parameters:
parent - the parent

showPopupMessageBox

public static void showPopupMessageBox(String message)

main

public static void main(String[] args)

getUIError

public static void getUIError(String componentName)

JIDE 3.5.15