IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> deprecated setFlex
This commit is contained in:
parent
4990c67dcc
commit
b74cf169c0
|
@ -97,7 +97,8 @@ public class WResetPassword implements IFormController, EventListener<Event>, Va
|
||||||
center.setStyle("border: none");
|
center.setStyle("border: none");
|
||||||
contentPane.appendChild(center);
|
contentPane.appendChild(center);
|
||||||
center.appendChild(gridPanel);
|
center.appendChild(gridPanel);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
South south = new South();
|
South south = new South();
|
||||||
south.setStyle("border: none");
|
south.setStyle("border: none");
|
||||||
contentPane.appendChild(south);
|
contentPane.appendChild(south);
|
||||||
|
|
|
@ -224,7 +224,8 @@ public final class WAccountDialog extends Window
|
||||||
|
|
||||||
North nRegion = new North();
|
North nRegion = new North();
|
||||||
nRegion.setParent(layout);
|
nRegion.setParent(layout);
|
||||||
nRegion.setFlex(false);
|
nRegion.setHflex("false");
|
||||||
|
nRegion.setVflex("false");
|
||||||
nRegion.appendChild(northPanel);
|
nRegion.appendChild(northPanel);
|
||||||
nRegion.setStyle("background-color: transparent; border: none");
|
nRegion.setStyle("background-color: transparent; border: none");
|
||||||
northPanel.setStyle("background-color: transparent;");
|
northPanel.setStyle("background-color: transparent;");
|
||||||
|
@ -232,7 +233,8 @@ public final class WAccountDialog extends Window
|
||||||
Center cRegion = new Center();
|
Center cRegion = new Center();
|
||||||
cRegion.setParent(layout);
|
cRegion.setParent(layout);
|
||||||
cRegion.appendChild(m_adTabPanel);
|
cRegion.appendChild(m_adTabPanel);
|
||||||
cRegion.setFlex(true);
|
cRegion.setHflex("true");
|
||||||
|
cRegion.setVflex("true");
|
||||||
|
|
||||||
South sRegion = new South();
|
South sRegion = new South();
|
||||||
sRegion.setParent(layout);
|
sRegion.setParent(layout);
|
||||||
|
|
|
@ -138,7 +138,8 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.appendChild(messageTree);
|
center.appendChild(messageTree);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
center.setAutoscroll(true);
|
center.setAutoscroll(true);
|
||||||
mainPanel.appendChild(center);
|
mainPanel.appendChild(center);
|
||||||
//
|
//
|
||||||
|
|
|
@ -288,7 +288,8 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
|
||||||
center.appendChild(grid);
|
center.appendChild(grid);
|
||||||
layout.appendChild(center);
|
layout.appendChild(center);
|
||||||
center.setStyle("background-color: white; border: 0");
|
center.setStyle("background-color: white; border: 0");
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
|
|
||||||
South south = new South();
|
South south = new South();
|
||||||
Div southDiv = new Div();
|
Div southDiv = new Div();
|
||||||
|
|
|
@ -138,7 +138,8 @@ public class WFieldRecordInfo extends Window implements EventListener<Event>
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setParent(layout);
|
center.setParent(layout);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
if (showTable)
|
if (showTable)
|
||||||
{
|
{
|
||||||
center.appendChild(table);
|
center.appendChild(table);
|
||||||
|
|
|
@ -137,7 +137,8 @@ public class WImageDialog extends Window implements EventListener<Event>
|
||||||
parameterPanel.appendChild((fileButton));
|
parameterPanel.appendChild((fileButton));
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
center.setParent(mainLayout);
|
center.setParent(mainLayout);
|
||||||
center.appendChild(image);
|
center.appendChild(image);
|
||||||
center.setStyle("background-color: transparent");
|
center.setStyle("background-color: transparent");
|
||||||
|
|
|
@ -171,7 +171,8 @@ public class WMediaDialog extends Window implements EventListener<Event>
|
||||||
|
|
||||||
Center centerPane = new Center();
|
Center centerPane = new Center();
|
||||||
centerPane.setAutoscroll(true);
|
centerPane.setAutoscroll(true);
|
||||||
centerPane.setFlex(true);
|
centerPane.setHflex("true");
|
||||||
|
centerPane.setVflex("true");
|
||||||
mainPanel.appendChild(centerPane);
|
mainPanel.appendChild(centerPane);
|
||||||
centerPane.appendChild(previewPanel);
|
centerPane.appendChild(previewPanel);
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,8 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setParent(mainLayout);
|
center.setParent(mainLayout);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
center.appendChild(centerPanel);
|
center.appendChild(centerPanel);
|
||||||
|
|
||||||
South south = new South();
|
South south = new South();
|
||||||
|
|
|
@ -145,7 +145,8 @@ public class WPAttributeInstance extends Window implements EventListener<Event>
|
||||||
// Center
|
// Center
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setParent(mainLayout);
|
center.setParent(mainLayout);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
center.appendChild(m_table);
|
center.appendChild(m_table);
|
||||||
|
|
||||||
// South
|
// South
|
||||||
|
|
|
@ -154,7 +154,8 @@ public class WRecordInfo extends Window implements EventListener<Event>
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setParent(layout);
|
center.setParent(layout);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
if (showTable)
|
if (showTable)
|
||||||
{
|
{
|
||||||
North north = new North();
|
North north = new North();
|
||||||
|
|
|
@ -174,7 +174,8 @@ public class WTask extends Window implements EventListener<Event>
|
||||||
div.setStyle("width: 100%; height:100%; overflow: auto");
|
div.setStyle("width: 100%; height:100%; overflow: auto");
|
||||||
div.appendChild(info);
|
div.appendChild(info);
|
||||||
center.appendChild(div);
|
center.appendChild(div);
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
|
|
||||||
South south = new South();
|
South south = new South();
|
||||||
layout.appendChild(south);
|
layout.appendChild(south);
|
||||||
|
|
|
@ -82,7 +82,8 @@ public class ZkJRViewer extends Window implements EventListener<Event>, ITabOnCl
|
||||||
north.appendChild(toolbar);
|
north.appendChild(toolbar);
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
layout.appendChild(center);
|
layout.appendChild(center);
|
||||||
iframe = new Iframe();
|
iframe = new Iframe();
|
||||||
iframe.setId("reportFrame");
|
iframe.setId("reportFrame");
|
||||||
|
|
|
@ -316,7 +316,8 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
|
||||||
north.appendChild(toolBar);
|
north.appendChild(toolBar);
|
||||||
|
|
||||||
Center center = new Center();
|
Center center = new Center();
|
||||||
center.setFlex(true);
|
center.setHflex("true");
|
||||||
|
center.setVflex("true");
|
||||||
layout.appendChild(center);
|
layout.appendChild(center);
|
||||||
iframe = new Iframe();
|
iframe = new Iframe();
|
||||||
iframe.setId("reportFrame");
|
iframe.setId("reportFrame");
|
||||||
|
|
Loading…
Reference in New Issue