removed unused code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@120585 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
03973112af
commit
be32b76ccf
|
@ -36,12 +36,11 @@ import com.google.gwt.user.client.ui.ScrollPanel;
|
||||||
import com.google.gwt.user.client.ui.VerticalPanel;
|
import com.google.gwt.user.client.ui.VerticalPanel;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Class WorkspaceExplorerSelectPanel.
|
* The Class WorkspaceResourcesExplorerPanel.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
||||||
* Jul 28, 2015
|
* Dec 3, 2015
|
||||||
*/
|
*/
|
||||||
public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWorskpaceExplorerSelectNotificationListener{
|
public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWorskpaceExplorerSelectNotificationListener{
|
||||||
|
|
||||||
|
@ -64,12 +63,22 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
|
||||||
* Instantiates a new workspace folder explorer select panel.
|
* Instantiates a new workspace folder explorer select panel.
|
||||||
*
|
*
|
||||||
* @param folderId the folder id
|
* @param folderId the folder id
|
||||||
* @throws Exception
|
* @param folderName the folder name
|
||||||
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
public WorkspaceResourcesExplorerPanel(String folderId, String folderName) throws Exception {
|
public WorkspaceResourcesExplorerPanel(String folderId, String folderName) throws Exception {
|
||||||
initExplorer(folderId, folderName, ItemType.values(), ItemType.values());
|
initExplorer(folderId, folderName, ItemType.values(), ItemType.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inits the explorer.
|
||||||
|
*
|
||||||
|
* @param folderId the folder id
|
||||||
|
* @param folderName the folder name
|
||||||
|
* @param selectableTypes the selectable types
|
||||||
|
* @param showableTypes the showable types
|
||||||
|
* @throws Exception the exception
|
||||||
|
*/
|
||||||
private void initExplorer(String folderId, String folderName, ItemType[] selectableTypes, ItemType[] showableTypes) throws Exception{
|
private void initExplorer(String folderId, String folderName, ItemType[] selectableTypes, ItemType[] showableTypes) throws Exception{
|
||||||
this.folderId = folderId;
|
this.folderId = folderId;
|
||||||
bindEvents();
|
bindEvents();
|
||||||
|
@ -82,9 +91,9 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
|
||||||
/**
|
/**
|
||||||
* Instantiates a new workspace explorer select panel.
|
* Instantiates a new workspace explorer select panel.
|
||||||
*
|
*
|
||||||
* @param captionTxt the caption txt
|
* @param folderId the folder id
|
||||||
* @param showOnlyFolders the show only folders
|
* @param showOnlyFolders the show only folders
|
||||||
* @throws Exception
|
* @throws Exception the exception
|
||||||
*/
|
*/
|
||||||
public WorkspaceResourcesExplorerPanel(String folderId, boolean showOnlyFolders) throws Exception {
|
public WorkspaceResourcesExplorerPanel(String folderId, boolean showOnlyFolders) throws Exception {
|
||||||
|
|
||||||
|
@ -183,30 +192,6 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
|
||||||
southPanel.clear();
|
southPanel.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override
|
|
||||||
// public void onResize() {
|
|
||||||
// super.onResize();
|
|
||||||
// GWT.log("on Resize...");
|
|
||||||
// adjustSize();
|
|
||||||
// }
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see com.google.gwt.user.client.ui.Widget#onLoad()
|
|
||||||
*/
|
|
||||||
// @Override
|
|
||||||
// protected void onLoad() {
|
|
||||||
// super.onLoad();
|
|
||||||
// GWT.log("on Load...");
|
|
||||||
//// adjustSize();
|
|
||||||
// adjustSize();
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// private void adjustSize(){
|
|
||||||
// if(this.getParent()!=null && this.getParent().getElement()!=null)
|
|
||||||
// Util.adjustSize(this.getParent().getElement(), wsExplorer.getPanel(), 85);
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inits the panel.
|
* Inits the panel.
|
||||||
*
|
*
|
||||||
|
@ -218,7 +203,6 @@ public class WorkspaceResourcesExplorerPanel extends DockPanel implements HasWor
|
||||||
setTitle(this.captionTxt);
|
setTitle(this.captionTxt);
|
||||||
|
|
||||||
add(breadcrumbs, DockPanel.NORTH);
|
add(breadcrumbs, DockPanel.NORTH);
|
||||||
|
|
||||||
// centerScrollable.setSize(width+"px", height);
|
// centerScrollable.setSize(width+"px", height);
|
||||||
setAlertConfirm("", false, null);
|
setAlertConfirm("", false, null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue