|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.swt.client.ui.builder.DefaultUIDefinition
public class DefaultUIDefinition
The default implementation of the UIDefinition interface. This contains information common to all instances of the declarative UI definition.
| Constructor Summary | |
|---|---|
DefaultUIDefinition()
Constructs an empty UI definition context. |
|
| Method Summary | |
|---|---|
java.lang.String |
getApplicationMenuXML()
Gets the XML of the applicationMenus section in the declarative UI definition used as a basis for creating this instance context. |
ConnectionsDefinition |
getConnectionsDefinition()
Gets the connections definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
DataSourcesDefinition |
getDataSourcesDefinition()
Gets the datasources definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
java.util.List<com.google.gwt.xml.client.Element> |
getHandlerElements()
Gets the handler elements for the UI definition context, as found in the associated declarative UI definition. |
java.lang.String |
getHelpID()
Gets the help ID of this UI definition context, as found in the associated declarative UI definition. |
java.lang.String |
getID()
Gets the ID of this UI definition context, as found in the associated declarative UI definition. |
java.util.List<java.lang.String> |
getKeyDatasourceIDs()
Gets the non-null list of data source IDs used for navigation on this UI, as found in the associated declarative UI definition. |
java.lang.String |
getKeyLookupDatasourceID()
Gets the non-null data source ID which acts as a separate instance from the main data source to handle the key change on this UI such as OE Order Entry, as found in the associated declarative UI definition. |
java.util.List<java.lang.String> |
getKeyWidgetIDs()
Gets the non-null list of key widget IDs on this UI, as found in the associated declarative UI definition. |
java.util.Map<java.lang.String,java.lang.String> |
getMessages()
Gets the map of messages for the UI definition context, as found in the associated declarative UI definition. |
java.util.List<com.google.gwt.xml.client.Element> |
getPopupElements()
Gets the popup form elements for the UI definition context, as found in the associated declarative UI definition. |
ConnectionsDefinition |
getPrefConnectionsDefinition()
Gets the preference store connections definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
DataSourcesDefinition |
getPreferenceStoresDefinition()
Gets the preferenceStore definition for the UI context, as found in the associated declarative UI definition |
com.google.gwt.xml.client.Element |
getRootWidgetElement()
Gets the root widget for the UI definition context, as found in the associated declarative UI definition. |
java.util.List<java.lang.String> |
getScriptContents()
Gets the list of script contents for the UI definition context, as found in the associated declarative UI definition and in external scripts specified in that declarative UI definition. |
java.util.Map<java.lang.String,java.lang.String> |
getShortToLongNamespaces()
Gets the map of short to long namespaces for the UI definition context, as found in the associated declarative UI definition. |
java.util.List<java.lang.String> |
getStyleContents()
Gets the list of style contents for the UI definition context, as found in the associated declarative UI definition and in external styles specified in that declarative UI definition. |
java.util.List<com.google.gwt.xml.client.Element> |
getTopicElements()
Gets the topic elements for the UI definition context, as found in the associated declarative UI definition. |
void |
setApplicationMenuXML(java.lang.String menuXML)
Sets the XML for the applicationMenus section of the Ui Definition. |
void |
setConnectionsDefinition(ConnectionsDefinition connectionsDefinition)
Sets the connections definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
void |
setDataSourcesDefinition(DataSourcesDefinition dataSourcesDefinition)
Sets the datasources definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
void |
setHandlerElements(java.util.List<com.google.gwt.xml.client.Element> handlerElements)
Sets the handler form elements for the UI definition context, as found in the associated declarative UI definition. |
void |
setHelpID(java.lang.String helpID)
Sets the help ID of this UI definition context, as found in the associated declarative UI definition. |
void |
setID(java.lang.String id)
Sets the ID of this UI definition context, as found in the associated declarative UI definition. |
void |
setMessages(java.util.Map<java.lang.String,java.lang.String> messages)
Sets the map of messages for the UI definition context, as found in the associated declarative UI definition. |
void |
setPopupElements(java.util.List<com.google.gwt.xml.client.Element> popupElements)
Sets the popup form elements for the UI definition context, as found in the associated declarative UI definition. |
void |
setPreferenceConnectionsDefinition(ConnectionsDefinition connectionsDefinition)
Sets the preference store connections definition for the UI context, as found in the associated declarative UI definition and in external declarative datasources definitions specified in that declarative UI definition. |
void |
setPreferenceStoresDefinition(DataSourcesDefinition preferenceStoresDefinition)
Sets the PreferenceStores datasources definitions for the UI context, as found in the associated declarative UI definition |
void |
setRootWidgetElement(com.google.gwt.xml.client.Element rootWidgetElement)
Sets the root widget for the UI definition context, as found in the associated declarative UI definition. |
void |
setScriptContents(java.util.List<java.lang.String> scriptContents)
Sets the list of script contents for the UI definition context, as found in the associated declarative UI definition and in external scripts specified in that declarative UI definition. |
void |
setShortToLongNamespaces(java.util.Map<java.lang.String,java.lang.String> shortToLongNamespaces)
Sets the map of short to long namespaces for the UI definition context, as found in the associated declarative UI definition. |
void |
setStyleContents(java.util.List<java.lang.String> styleContents)
Sets the list of style contents for the UI definition context, as found in the associated declarative UI definition and in external styles specified in that declarative UI definition. |
void |
setTopicElements(java.util.List<com.google.gwt.xml.client.Element> topicElements)
Sets the topic elements for the UI definition context, as found in the associated declarative UI definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUIDefinition()
| Method Detail |
|---|
public java.lang.String getID()
getID in interface UIDefinitionpublic void setID(java.lang.String id)
id - The ID of this UI definition context, as found in the associated
declarative UI definition.public java.lang.String getHelpID()
getHelpID in interface UIDefinitionpublic void setHelpID(java.lang.String helpID)
helpID - The help ID of this UI definition context, as found in the
associated declarative UI definition.public java.util.List<java.lang.String> getKeyDatasourceIDs()
getKeyDatasourceIDs in interface UIDefinitionpublic java.lang.String getKeyLookupDatasourceID()
getKeyLookupDatasourceID in interface UIDefinitionpublic java.util.List<java.lang.String> getKeyWidgetIDs()
getKeyWidgetIDs in interface UIDefinitionpublic java.util.Map<java.lang.String,java.lang.String> getShortToLongNamespaces()
getShortToLongNamespaces in interface UIDefinitionpublic void setShortToLongNamespaces(java.util.Map<java.lang.String,java.lang.String> shortToLongNamespaces)
shortToLongNamespaces - The map of short to long namespaces for the UI definition
context, as found in the associated declarative UI definition.public java.util.List<java.lang.String> getScriptContents()
getScriptContents in interface UIDefinitionpublic void setScriptContents(java.util.List<java.lang.String> scriptContents)
scriptContents - The list of script contents for the UI definition context, as
found in the associated declarative UI definition and in
external scripts specified in that declarative UI definition.public java.util.List<java.lang.String> getStyleContents()
getStyleContents in interface UIDefinitionpublic void setStyleContents(java.util.List<java.lang.String> styleContents)
styleContents - The list of style contents for the UI definition context, as
found in the associated declarative UI definition and in
external styles specified in that declarative UI definition.public ConnectionsDefinition getConnectionsDefinition()
getConnectionsDefinition in interface UIDefinitionpublic ConnectionsDefinition getPrefConnectionsDefinition()
getPrefConnectionsDefinition in interface UIDefinitionpublic DataSourcesDefinition getDataSourcesDefinition()
getDataSourcesDefinition in interface UIDefinitionpublic DataSourcesDefinition getPreferenceStoresDefinition()
getPreferenceStoresDefinition in interface UIDefinitionpublic void setConnectionsDefinition(ConnectionsDefinition connectionsDefinition)
connectionsDefinition - The connections definition for the UI context, as found in the
associated declarative UI definition and in external declarative
connections definitions specified in that declarative UI
definition.public void setPreferenceConnectionsDefinition(ConnectionsDefinition connectionsDefinition)
connectionsDefinition - The preference store connections definition for the UI context,
as found in the associated declarative UI definition and in
external declarative connections definitions specified in that
declarative UI definition.public void setDataSourcesDefinition(DataSourcesDefinition dataSourcesDefinition)
dataSourcesDefinition - The datasources definition for the UI context, as found in the
associated declarative UI definition and in external declarative
datasources definitions specified in that declarative UI
definition.public void setPreferenceStoresDefinition(DataSourcesDefinition preferenceStoresDefinition)
preferenceStoresDefinition - The PreferenceStores datasources definitions for the UI context,
as found in the associated declarative UI definitionpublic java.util.List<com.google.gwt.xml.client.Element> getPopupElements()
getPopupElements in interface UIDefinitionpublic void setPopupElements(java.util.List<com.google.gwt.xml.client.Element> popupElements)
popupElements - The popup form elements for the UI definition context, as found
in the associated declarative UI definition.public com.google.gwt.xml.client.Element getRootWidgetElement()
getRootWidgetElement in interface UIDefinitionpublic void setRootWidgetElement(com.google.gwt.xml.client.Element rootWidgetElement)
rootWidgetElement - The root widget for the UI definition context, as found in the
associated declarative UI definition.public java.util.List<com.google.gwt.xml.client.Element> getHandlerElements()
getHandlerElements in interface UIDefinitionpublic void setHandlerElements(java.util.List<com.google.gwt.xml.client.Element> handlerElements)
handlerElements - The handler elements for the UI definition context, as found in
the associated declarative UI definition.public java.util.List<com.google.gwt.xml.client.Element> getTopicElements()
getTopicElements in interface UIDefinitionpublic void setTopicElements(java.util.List<com.google.gwt.xml.client.Element> topicElements)
topicElements - The topic elements for the UI definition context, as found in
the associated declarative UI definition.public java.util.Map<java.lang.String,java.lang.String> getMessages()
getMessages in interface UIDefinitionpublic void setMessages(java.util.Map<java.lang.String,java.lang.String> messages)
messages - The map of messages for the UI definition context, as found in
the associated declarative UI definition.public java.lang.String getApplicationMenuXML()
UIDefinition
getApplicationMenuXML in interface UIDefinitionpublic void setApplicationMenuXML(java.lang.String menuXML)
menuXML - the XML for the applicationMenus section of the UI Definition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||