2099: Workspace Explorer enhancements: create a new folder
Task-Url: https://support.d4science.org/issues/2099 Added code to add new folder to top git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@122728 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
379ffc008d
commit
db305eb322
|
@ -74,13 +74,18 @@ public class ItemsTable extends AbstractItemsCellTable implements SelectionItem{
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Adds the items.
|
||||
*
|
||||
* @param packages the packages
|
||||
* @param items the items
|
||||
*/
|
||||
public void addItems(List<Item> packages) {
|
||||
dataProvider.getList().addAll(packages);
|
||||
public void addItems(List<Item> items) {
|
||||
|
||||
for (int i=0; i<items.size(); i++) {
|
||||
dataProvider.getList().add(i, items.get(i));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Reference in New Issue