removed unused code

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@128839 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-05-25 16:34:19 +00:00
parent 3fc41d7f54
commit 8bec622d36
1 changed files with 0 additions and 60 deletions

View File

@ -87,8 +87,6 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
}
}
// wsExplorer.getPanel().addStyleName("adaptiveHeight");
}
/**
@ -311,74 +309,16 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
this.captionTxt = captionTxt;
if(this.captionTxt!=null && !this.captionTxt.isEmpty())
setTitle(this.captionTxt);
// onEnsureDebugId("secureDebugDock");
add(breadcrumbs, DockPanel.NORTH);
setCellHeight(breadcrumbs, offsetBreadcrumb+"px");
// centerScrollable.setSize(width+"px", height);
// setAlertConfirm("", false, null);
// mainVP.add(wsExplorer.getPanel());
// mainVP.add(footerHP);
centerScrollable.add(wsExplorer.getPanel());
// centerScrollable.getElement().getStyle().setOverflowY(Overflow.SCROLL);
// wsExplorer.getPanel().setHeight("200px");
// wsExplorer.getPanel().getElement().getStyle().setOverflowY(Overflow.SCROLL);
add(centerScrollable, DockPanel.CENTER);
// wsExplorer.getItTables().getCellTable().getElement().getStyle().setOverflow(Overflow.VISIBLE);
// add(footerHP, DockPanel.SOUTH);
}
public void getNorthPanelHeight(){
}
/**
* Sets the alert confirm.
*
* @param selected the selected
*/
/*private void setAlertConfirm(String html, boolean show, final Item item){
try{
footerHP.remove(alertConfirm);
}catch(Exception e){
//silent
}
alertConfirm = new Alert();
alertConfirm.setText(html);
alertConfirm.setVisible(show);
alertConfirm.setClose(true);
alertConfirm.setType(AlertType.INFO);
Button yes = new Button("Yes");
yes.setType(ButtonType.LINK);
yes.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
if(item!=null){
isSelect = true;
notifySelectedItem(item);
}
}
});
Button no = new Button("No");
no.setType(ButtonType.LINK);
no.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
alertConfirm.close();
}
});
alertConfirm.add(yes);
alertConfirm.add(no);
footerHP.insert(alertConfirm,0);
}*/
/**
* Notify selected item.
*