Commit adb53f64 authored by dkasliwal's avatar dkasliwal

Menu bar display move to right side to left side.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104735 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 20b5e6e4
......@@ -85,10 +85,11 @@ public class FilterCreator extends Composite
setTitleOnFilterSubmit(parameterList, metaDataJsnObj);
xmlName = parameterList.get(0);
headingLblImg.setStyleName("filterImage");
if (getViewFilter(parameterList, metaDataJsnObj) != null)
/*Menu Bar Move to left side panel to right side By Dhanendra on date 20-02-2017*/
/*if (getViewFilter(parameterList, metaDataJsnObj) != null)
{
headingLableImgPanel.add(getViewFilter(parameterList, metaDataJsnObj));
}
}*/
headingLableImgPanel.add(titleLbl);
lablePnl.add(headingLableImgPanel);
titleLbl.getElement().setId("titleLbl");
......@@ -96,18 +97,25 @@ public class FilterCreator extends Composite
lablePnl.setCellHorizontalAlignment(titleLbl, HasHorizontalAlignment.ALIGN_LEFT);
openFltrImg.setStyleName("filterImage");
fltrImgPnl.add(openFltrImg);
/*Menu Bar Move to left side panel to right side By Dhanendra on date 20-02-2017*/
if (getViewFilter(parameterList, metaDataJsnObj) != null)
{
fltrImgPnl.add(getViewFilter(parameterList, metaDataJsnObj));
}
/*End Bar Move to left side panel to right side By Dhanendra on date 20-02-2017*/
fltrImgPnl.setCellHorizontalAlignment(openFltrImg, HasHorizontalAlignment.ALIGN_RIGHT);
fltrImgPnl.setStylePrimaryName("vPanelCSS");
horizontlPnl.setWidth("100%");
fltrImgPnl.setWidth("100%");
/*fltrImgPnl.setWidth("100%");*/
lablePnl.setWidth("100%");
horizontlPnl.setSpacing(10);
horizontlPnl.setCellHorizontalAlignment(fltrImgPnl, HasHorizontalAlignment.ALIGN_RIGHT);
horizontlPnl.setSpacing(5);
horizontlPnl.add(lablePnl);
//horizontlPnl.setCellVerticalAlignment(lablePnl, HasVerticalAlignment.ALIGN_MIDDLE);
if(parameterList.size()>2 )
{
horizontlPnl.add(fltrImgPnl);
horizontlPnl.setCellWidth(fltrImgPnl, "3%");
}
this.metaDataJsnObj = metaDataJsnObj;
......@@ -239,11 +247,14 @@ public class FilterCreator extends Composite
{
creatDropDown(filterInfo, popUpVPnl, fltrParmtrArray);
}
/* ended */
/*Add new type for Date DD-MMM-YY format by Dhanendra */
if (filterInfo.getFiltrType().equals("8"))
{
createDatePikrMMMFormat(filterInfo, popUpVPnl, fltrParmtrArray);
}
/* ended */
/*End new type for Date DD-MMM-YY format by Dhanendra */
}
}
headingLbl.setStyleName("filterDivHeadingName"); //Dhanendra 12-09-2014
......@@ -262,6 +273,7 @@ public class FilterCreator extends Composite
imgHorzntlPnl.getElement().setAttribute("align", "right");
finishImg.setHeight("25px");
cancelImg.setHeight("25px");
finishImg.setStyleName("cursor");
imgHorzntlPnl.add(finishImg);
imgHorzntlPnl.add(cancelImg);
cancelImg.setStyleName("imgalignment");
......@@ -278,7 +290,7 @@ public class FilterCreator extends Composite
homePgFltrPopupVPnl.add(popUpScrlPnl);
mainPopupPnl.setPopupPosition(100, 60);
mainPopupPnl.setPopupPosition(100, 35);
mainPopupPnl.getElement().setId("filterMainOuterDiv");
mainPopupPnl.add(homePgFltrPopupVPnl);
//mainPopupPnl.show();
......@@ -771,7 +783,9 @@ public class FilterCreator extends Composite
// NodeList viewNodeList = null;
// Node viewNode = null;
// String view=null;
final String image = "<img align='top' src='FusionChart/images/menu_button.png' height='18px' width='25px'/>";
//final String image = "<img align='top' src='FusionChart/images/menu_button.png' height='18px' width='25px' cursor='pointer'/>";
final String image = "<img align='top' src='FusionChart/images/menu_button.png' style='width:25px;height:18px;cursor:pointer'/>";
/*Add Code by Dhanendra on date 14-10-2016*/
final String metadataname = Window.Location.getParameter("metadataname") == null ? "" : Window.Location.getParameter("metadataname");
/*End Code by Dhanendra on date 14-10-2016*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment