This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 192563 - Layout of the ui should be driven by a XML file
Summary: Layout of the ui should be driven by a XML file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Sheldon Lee-Loy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 22:33 EDT by Sheldon Lee-Loy CLA
Modified: 2012-01-03 13:46 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Lee-Loy CLA 2007-06-13 22:33:38 EDT
In order to make the UI flexible the layout of the pages should be driven by an xml file.  This would make easier for exploiters to create their own web ui.
Comment 1 Sheldon Lee-Loy CLA 2007-08-02 16:27:16 EDT
Added assembly xml that associates widgets to a quadrant on a page.  


The following is a sample xml:
<contents> 
 	<content tag="navigator"> 
    <mashup>
			<property name="dojoType" value="cosmos.widget.Navigator" />
	  </mashup> 
	</content> 
 	<content tag="detail"> 
    <mashup>
			<property name="dojoType" value="cosmos.widget.BIRTContainer" />
	  </mashup> 
	</content> 
 	<content tag="properties"> 
    <mashup>
			<property name="dojoType" value="cosmos.widget.PropertiesContainer" />
			<property name="title" value="Properties" />
			<property name="sizeMin" value="33" />
			<property name="sizeMax" value="33" />
	  </mashup> 
	</content> 
 	<content tag="unknown"> 
      <mashup>
			<property name="dojoType" value="cosmos.widget.ReportChooser" />
	  </mashup> 
      <mashup>
			<property name="dojoType" value="mywidget.widget.MinRequirement" />
	  </mashup> 
	</content> 
</contents>

Note the xml file is a list of content elements that is associated with a tag.  A set of widgets are associated with a particular tag.  These tags are used in the page layout to determine which widgets should be associated with a particular quadrant on the page.
Comment 2 Sheldon Lee-Loy CLA 2007-11-29 16:18:19 EST
Iteration clean up.