IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> deprecated setFlex

This commit is contained in:
Richard Morales 2012-12-19 16:19:32 -05:00
parent 4990c67dcc
commit b74cf169c0
13 changed files with 28 additions and 14 deletions

View File

@ -97,7 +97,8 @@ public class WResetPassword implements IFormController, EventListener<Event>, Va
center.setStyle("border: none");
contentPane.appendChild(center);
center.appendChild(gridPanel);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
South south = new South();
south.setStyle("border: none");
contentPane.appendChild(south);

View File

@ -224,7 +224,8 @@ public final class WAccountDialog extends Window
North nRegion = new North();
nRegion.setParent(layout);
nRegion.setFlex(false);
nRegion.setHflex("false");
nRegion.setVflex("false");
nRegion.appendChild(northPanel);
nRegion.setStyle("background-color: transparent; border: none");
northPanel.setStyle("background-color: transparent;");
@ -232,7 +233,8 @@ public final class WAccountDialog extends Window
Center cRegion = new Center();
cRegion.setParent(layout);
cRegion.appendChild(m_adTabPanel);
cRegion.setFlex(true);
cRegion.setHflex("true");
cRegion.setVflex("true");
South sRegion = new South();
sRegion.setParent(layout);

View File

@ -138,7 +138,8 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
Center center = new Center();
center.appendChild(messageTree);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
center.setAutoscroll(true);
mainPanel.appendChild(center);
//

View File

@ -288,7 +288,8 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
center.appendChild(grid);
layout.appendChild(center);
center.setStyle("background-color: white; border: 0");
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
South south = new South();
Div southDiv = new Div();

View File

@ -138,7 +138,8 @@ public class WFieldRecordInfo extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(layout);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
if (showTable)
{
center.appendChild(table);

View File

@ -137,7 +137,8 @@ public class WImageDialog extends Window implements EventListener<Event>
parameterPanel.appendChild((fileButton));
Center center = new Center();
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
center.setParent(mainLayout);
center.appendChild(image);
center.setStyle("background-color: transparent");

View File

@ -171,7 +171,8 @@ public class WMediaDialog extends Window implements EventListener<Event>
Center centerPane = new Center();
centerPane.setAutoscroll(true);
centerPane.setFlex(true);
centerPane.setHflex("true");
centerPane.setVflex("true");
mainPanel.appendChild(centerPane);
centerPane.appendChild(previewPanel);

View File

@ -205,7 +205,8 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(mainLayout);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
center.appendChild(centerPanel);
South south = new South();

View File

@ -145,7 +145,8 @@ public class WPAttributeInstance extends Window implements EventListener<Event>
// Center
Center center = new Center();
center.setParent(mainLayout);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
center.appendChild(m_table);
// South

View File

@ -154,7 +154,8 @@ public class WRecordInfo extends Window implements EventListener<Event>
Center center = new Center();
center.setParent(layout);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
if (showTable)
{
North north = new North();

View File

@ -174,7 +174,8 @@ public class WTask extends Window implements EventListener<Event>
div.setStyle("width: 100%; height:100%; overflow: auto");
div.appendChild(info);
center.appendChild(div);
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
South south = new South();
layout.appendChild(south);

View File

@ -82,7 +82,8 @@ public class ZkJRViewer extends Window implements EventListener<Event>, ITabOnCl
north.appendChild(toolbar);
Center center = new Center();
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
layout.appendChild(center);
iframe = new Iframe();
iframe.setId("reportFrame");

View File

@ -316,7 +316,8 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
north.appendChild(toolBar);
Center center = new Center();
center.setFlex(true);
center.setHflex("true");
center.setVflex("true");
layout.appendChild(center);
iframe = new Iframe();
iframe.setId("reportFrame");