com.sage.swt.client.widget
Class DeclarativeLandingPageTransformer
java.lang.Object
com.sage.swt.client.widget.DeclarativeLandingPageTransformer
public final class DeclarativeLandingPageTransformer
- extends java.lang.Object
Generates the XML that describes the layout of the widgets contained within
the specified absolute panel.
Parts of this class has been copied from the DeclarativeUITransfomer class
and the DeclarativeWidgetTransformer class from the UIDesigner to implement
the backlog story B-04368.
Method Summary |
static java.lang.String |
generateLayoutFromLandingPage(com.google.gwt.user.client.ui.AbsolutePanel uiPanel,
java.lang.String uiDefinitionID,
java.lang.String formID,
AbstractSwtPortletWidget portletWidget)
Generates the XML that describes the layout of the widgets contained
within the specified absolute panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeclarativeLandingPageTransformer
public DeclarativeLandingPageTransformer()
generateLayoutFromLandingPage
public static java.lang.String generateLayoutFromLandingPage(com.google.gwt.user.client.ui.AbsolutePanel uiPanel,
java.lang.String uiDefinitionID,
java.lang.String formID,
AbstractSwtPortletWidget portletWidget)
- Generates the XML that describes the layout of the widgets contained
within the specified absolute panel.
- Parameters:
uiPanel
- The absolute panel that contains the widgets whose layout will
be generated.uiDefinitionID
- The ID of the UI (or popup form's) definition. This is stored in
the root "UI" tag of the layout (UI definition) file.formID
- The UI's ID.portletWidget
- Widget to exclude from layout
- Returns:
- String The UI's declarative layout, as an XML string.
Copyright © 2011 Sage Software, Inc. All rights reserved.