org.eaglei.datatools.client.ui
Class WidgetUtils
java.lang.Object
org.eaglei.datatools.client.ui.WidgetUtils
public class WidgetUtils
- extends java.lang.Object
Collection of static utility methods required for form generation
|
Method Summary |
static void |
addTermWidgetToPanel(org.eaglei.model.EIInstance eiInstance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
org.eaglei.model.EIClass range,
org.eaglei.model.EIEntity selectedClassEntity,
EditWidgetCollection fields,
boolean showLabel)
|
static void |
addTermWidgetToPanel(org.eaglei.model.EIInstance eiInstance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
org.eaglei.model.EIClass range,
org.eaglei.model.EIEntity selectedClassEntity,
com.google.gwt.user.client.ui.HorizontalPanel tempPanel,
boolean showLabel)
|
static com.google.gwt.user.client.ui.HorizontalPanel |
createRadioButon(org.eaglei.model.EIInstance instance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
java.lang.String originalValue)
|
static com.google.gwt.user.client.ui.TextBox |
createTextField()
|
static com.google.gwt.user.client.ui.TextBox |
createTextFieldForResourceWidget()
|
static java.lang.String |
formatDate(java.lang.String dt)
|
static java.lang.String |
getChangePasswordURL()
|
static java.lang.String |
getGlossaryURL()
|
static java.lang.String |
getHelpURL()
|
static java.lang.String |
getNodeNameFromURL()
|
static org.eaglei.model.EIEntity |
getSelectedEntity(com.google.gwt.user.client.ui.ListBox listBox)
|
static org.eaglei.model.EIURI |
getSelectedUri(com.google.gwt.user.client.ui.ListBox listBox)
Deprecated. |
static boolean |
isInstance(org.eaglei.model.EIEntity selectedEntity)
|
static boolean |
isInstanceUri(java.lang.String selectedUri)
|
static java.lang.String |
lowerCaseFirst(java.lang.String original)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetUtils
public WidgetUtils()
createTextField
public static com.google.gwt.user.client.ui.TextBox createTextField()
createTextFieldForResourceWidget
public static com.google.gwt.user.client.ui.TextBox createTextFieldForResourceWidget()
addTermWidgetToPanel
public static void addTermWidgetToPanel(org.eaglei.model.EIInstance eiInstance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
org.eaglei.model.EIClass range,
org.eaglei.model.EIEntity selectedClassEntity,
EditWidgetCollection fields,
boolean showLabel)
addTermWidgetToPanel
public static void addTermWidgetToPanel(org.eaglei.model.EIInstance eiInstance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
org.eaglei.model.EIClass range,
org.eaglei.model.EIEntity selectedClassEntity,
com.google.gwt.user.client.ui.HorizontalPanel tempPanel,
boolean showLabel)
createRadioButon
public static com.google.gwt.user.client.ui.HorizontalPanel createRadioButon(org.eaglei.model.EIInstance instance,
org.eaglei.model.EIEntity propertyEntity,
java.lang.String propertyDefinition,
boolean isRequired,
java.lang.String originalValue)
isInstanceUri
public static boolean isInstanceUri(java.lang.String selectedUri)
isInstance
public static boolean isInstance(org.eaglei.model.EIEntity selectedEntity)
getSelectedEntity
public static org.eaglei.model.EIEntity getSelectedEntity(com.google.gwt.user.client.ui.ListBox listBox)
getSelectedUri
@Deprecated
public static org.eaglei.model.EIURI getSelectedUri(com.google.gwt.user.client.ui.ListBox listBox)
- Deprecated.
formatDate
public static java.lang.String formatDate(java.lang.String dt)
lowerCaseFirst
public static java.lang.String lowerCaseFirst(java.lang.String original)
getGlossaryURL
public static java.lang.String getGlossaryURL()
getHelpURL
public static java.lang.String getHelpURL()
getChangePasswordURL
public static java.lang.String getChangePasswordURL()
getNodeNameFromURL
public static java.lang.String getNodeNameFromURL()
Copyright © 2009-2011 Eagle-I. All Rights Reserved.