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 ...@@ -85,10 +85,11 @@ public class FilterCreator extends Composite
setTitleOnFilterSubmit(parameterList, metaDataJsnObj); setTitleOnFilterSubmit(parameterList, metaDataJsnObj);
xmlName = parameterList.get(0); xmlName = parameterList.get(0);
headingLblImg.setStyleName("filterImage"); 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(getViewFilter(parameterList, metaDataJsnObj));
} }*/
headingLableImgPanel.add(titleLbl); headingLableImgPanel.add(titleLbl);
lablePnl.add(headingLableImgPanel); lablePnl.add(headingLableImgPanel);
titleLbl.getElement().setId("titleLbl"); titleLbl.getElement().setId("titleLbl");
...@@ -96,18 +97,25 @@ public class FilterCreator extends Composite ...@@ -96,18 +97,25 @@ public class FilterCreator extends Composite
lablePnl.setCellHorizontalAlignment(titleLbl, HasHorizontalAlignment.ALIGN_LEFT); lablePnl.setCellHorizontalAlignment(titleLbl, HasHorizontalAlignment.ALIGN_LEFT);
openFltrImg.setStyleName("filterImage"); openFltrImg.setStyleName("filterImage");
fltrImgPnl.add(openFltrImg); 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.setCellHorizontalAlignment(openFltrImg, HasHorizontalAlignment.ALIGN_RIGHT);
fltrImgPnl.setStylePrimaryName("vPanelCSS"); fltrImgPnl.setStylePrimaryName("vPanelCSS");
horizontlPnl.setWidth("100%"); horizontlPnl.setWidth("100%");
fltrImgPnl.setWidth("100%"); /*fltrImgPnl.setWidth("100%");*/
lablePnl.setWidth("100%"); lablePnl.setWidth("100%");
horizontlPnl.setCellHorizontalAlignment(fltrImgPnl, HasHorizontalAlignment.ALIGN_RIGHT);
horizontlPnl.setSpacing(10); horizontlPnl.setSpacing(5);
horizontlPnl.add(lablePnl); horizontlPnl.add(lablePnl);
//horizontlPnl.setCellVerticalAlignment(lablePnl, HasVerticalAlignment.ALIGN_MIDDLE);
if(parameterList.size()>2 ) if(parameterList.size()>2 )
{ {
horizontlPnl.add(fltrImgPnl); horizontlPnl.add(fltrImgPnl);
horizontlPnl.setCellWidth(fltrImgPnl, "3%");
} }
this.metaDataJsnObj = metaDataJsnObj; this.metaDataJsnObj = metaDataJsnObj;
...@@ -239,11 +247,14 @@ public class FilterCreator extends Composite ...@@ -239,11 +247,14 @@ public class FilterCreator extends Composite
{ {
creatDropDown(filterInfo, popUpVPnl, fltrParmtrArray); creatDropDown(filterInfo, popUpVPnl, fltrParmtrArray);
} }
/* ended */
/*Add new type for Date DD-MMM-YY format by Dhanendra */
if (filterInfo.getFiltrType().equals("8")) if (filterInfo.getFiltrType().equals("8"))
{ {
createDatePikrMMMFormat(filterInfo, popUpVPnl, fltrParmtrArray); createDatePikrMMMFormat(filterInfo, popUpVPnl, fltrParmtrArray);
} }
/* ended */ /*End new type for Date DD-MMM-YY format by Dhanendra */
} }
} }
headingLbl.setStyleName("filterDivHeadingName"); //Dhanendra 12-09-2014 headingLbl.setStyleName("filterDivHeadingName"); //Dhanendra 12-09-2014
...@@ -262,6 +273,7 @@ public class FilterCreator extends Composite ...@@ -262,6 +273,7 @@ public class FilterCreator extends Composite
imgHorzntlPnl.getElement().setAttribute("align", "right"); imgHorzntlPnl.getElement().setAttribute("align", "right");
finishImg.setHeight("25px"); finishImg.setHeight("25px");
cancelImg.setHeight("25px"); cancelImg.setHeight("25px");
finishImg.setStyleName("cursor");
imgHorzntlPnl.add(finishImg); imgHorzntlPnl.add(finishImg);
imgHorzntlPnl.add(cancelImg); imgHorzntlPnl.add(cancelImg);
cancelImg.setStyleName("imgalignment"); cancelImg.setStyleName("imgalignment");
...@@ -278,7 +290,7 @@ public class FilterCreator extends Composite ...@@ -278,7 +290,7 @@ public class FilterCreator extends Composite
homePgFltrPopupVPnl.add(popUpScrlPnl); homePgFltrPopupVPnl.add(popUpScrlPnl);
mainPopupPnl.setPopupPosition(100, 60); mainPopupPnl.setPopupPosition(100, 35);
mainPopupPnl.getElement().setId("filterMainOuterDiv"); mainPopupPnl.getElement().setId("filterMainOuterDiv");
mainPopupPnl.add(homePgFltrPopupVPnl); mainPopupPnl.add(homePgFltrPopupVPnl);
//mainPopupPnl.show(); //mainPopupPnl.show();
...@@ -771,7 +783,9 @@ public class FilterCreator extends Composite ...@@ -771,7 +783,9 @@ public class FilterCreator extends Composite
// NodeList viewNodeList = null; // NodeList viewNodeList = null;
// Node viewNode = null; // Node viewNode = null;
// String view=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*/ /*Add Code by Dhanendra on date 14-10-2016*/
final String metadataname = Window.Location.getParameter("metadataname") == null ? "" : Window.Location.getParameter("metadataname"); final String metadataname = Window.Location.getParameter("metadataname") == null ? "" : Window.Location.getParameter("metadataname");
/*End Code by Dhanendra on date 14-10-2016*/ /*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