718: Workspace: breadcrumb problem on VRE Folders after a two consecutive selection
Task-Url: https://support.d4science.org/issues//718 Removed unused code git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@118953 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5b46bcbae2
commit
9bf91c03cd
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/workspace-6.8.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<classpathentry kind="src" output="target/workspace-6.9.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
|
@ -26,5 +26,5 @@
|
|||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/workspace-6.8.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
<classpathentry kind="output" path="target/workspace-6.9.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<dependent-module archiveName="workspace-tree-widget-6.9.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-TRUNK/workspace-tree-widget-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="fileupload-progress-bar-1.3.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/fileupload-progress-bar-TRUNK/fileupload-progress-bar-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||
<property name="context-root" value="workspace"/>
|
||||
|
|
|
@ -1038,13 +1038,11 @@ public class AppController implements SubscriberInterface {
|
|||
}
|
||||
|
||||
private void updateBreadcrumb(List<FileModel> parents){
|
||||
|
||||
GWT.log("Updating Breadcrumb : "+parents);
|
||||
//this.wsPortlet.getBasicTabContainer().setLabelPath(path); //Set path in breadcrumb
|
||||
|
||||
GxtBreadcrumbPathPanel breadCrumb = this.wsPortlet.getToolBarPath();
|
||||
|
||||
breadCrumb.setPath(parents); //Set path in breadcrumb
|
||||
|
||||
FileModel parent = breadCrumb.getLastParent();
|
||||
|
||||
GWT.log("Updated Breadcrumb for : "+parent);
|
||||
|
@ -1364,7 +1362,7 @@ public class AppController implements SubscriberInterface {
|
|||
|
||||
@Override
|
||||
public void selectedItem(FileModel item, List<FileModel> parents) {
|
||||
|
||||
GWT.log("selectedItem.. ");
|
||||
FileModel currentFolder = wsPortlet.getGridGroupContainer().getCurrentFolderView();
|
||||
|
||||
if(currentFolder!=null){
|
||||
|
@ -1450,6 +1448,7 @@ public class AppController implements SubscriberInterface {
|
|||
|
||||
@Override
|
||||
public void setParentItemSelected(ArrayList<FileModel> listParents){
|
||||
GWT.log("setParentItemSelected.. ");
|
||||
updateBreadcrumb(listParents);
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,5 @@ public class GxtBreadcrumbPathPanel {
|
|||
*/
|
||||
public void refreshSize() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue