property renamed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@121823 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8175958f2d
commit
0303fed96c
|
@ -67,7 +67,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
private ContentPanel cp = new ContentPanel();
|
private ContentPanel cp = new ContentPanel();
|
||||||
// private ListStore<FileModel> store = ListStoreModel.getInstance().getStore();
|
// private ListStore<FileModel> store = ListStoreModel.getInstance().getStore();
|
||||||
private GroupingStore<FileGridModel> store = GroupingStoreModel.getInstance().getStore();
|
private GroupingStore<FileGridModel> store = GroupingStoreModel.getInstance().getStore();
|
||||||
private FileGridModel currenItemSelected = null;
|
private FileGridModel currentItemSelected = null;
|
||||||
private FileModel currentFolderView = null;
|
private FileModel currentFolderView = null;
|
||||||
private GroupingView view = new GroupingView();
|
private GroupingView view = new GroupingView();
|
||||||
private boolean groupingEnabled = false;
|
private boolean groupingEnabled = false;
|
||||||
|
@ -190,7 +190,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
ModelData target = se.getSelectedItem();
|
ModelData target = se.getSelectedItem();
|
||||||
|
|
||||||
if(target!=null){
|
if(target!=null){
|
||||||
currenItemSelected = (FileGridModel) target;
|
currentItemSelected = (FileGridModel) target;
|
||||||
|
|
||||||
boolean isMultiselection = false;
|
boolean isMultiselection = false;
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
AppController.getEventBus().fireEvent(new GridElementSelectedEvent(target, isMultiselection));
|
AppController.getEventBus().fireEvent(new GridElementSelectedEvent(target, isMultiselection));
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
currenItemSelected = null;
|
currentItemSelected = null;
|
||||||
AppController.getEventBus().fireEvent(new GridElementUnSelectedEvent());
|
AppController.getEventBus().fireEvent(new GridElementUnSelectedEvent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -381,7 +381,7 @@ public class GxtGridFilterGroupPanel extends LayoutContainer {
|
||||||
*/
|
*/
|
||||||
public FileGridModel getSelectedItem(){
|
public FileGridModel getSelectedItem(){
|
||||||
|
|
||||||
return currenItemSelected;
|
return currentItemSelected;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue