jbcmt
14 years agoOccasional Contributor
How to shorten Aliases?
I'm working on a Java app which is built in Eclipse. The object names tend to go very, very deep. For instance, the start date on a parameter form to a report is mapped as:
Aliases.WCAN.BIRT_Window.Browser.OleFrame.WebSite.ShellEmbedding.ShellDocObjectView.browser.pageBirtReportViewer.tableLayout.cellSidebar.panelParameterdialog.panelDialogbackground.panelDbackground.panelParameterdialogdialogconten.panelBirtviewerParameterDialog.tableParameterTable.cell.table.cell.Startdate_Text
That's 22 deep! Most of the items between BIRT_Window and Startdate_Text really aren't needed. I've tried other tools, and they can recognize the same objects using only a couple of properties.
How can I keep my NameMapping to a shorter, manageable list?
JBC
Aliases.WCAN.BIRT_Window.Browser.OleFrame.WebSite.ShellEmbedding.ShellDocObjectView.browser.pageBirtReportViewer.tableLayout.cellSidebar.panelParameterdialog.panelDialogbackground.panelDbackground.panelParameterdialogdialogconten.panelBirtviewerParameterDialog.tableParameterTable.cell.table.cell.Startdate_Text
That's 22 deep! Most of the items between BIRT_Window and Startdate_Text really aren't needed. I've tried other tools, and they can recognize the same objects using only a couple of properties.
How can I keep my NameMapping to a shorter, manageable list?
JBC