Class RecentPickList
- java.lang.Object
-
- org.pentaho.mantle.client.solutionbrowser.filepicklist.AbstractFilePickList<RecentPickItem>
-
- org.pentaho.mantle.client.solutionbrowser.filepicklist.RecentPickList
-
public class RecentPickList extends AbstractFilePickList<RecentPickItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, RecentPickItem pickListItem)
Disable ability to add recent anywhere in listvoid
add(RecentPickItem pickListItem)
Handle the additional logic associated with adding a new recent including insertion as first item in array and checking list size.boolean
contains(String fileNameWithPath)
RecentPickItem
createFilePickItem(com.google.gwt.json.client.JSONObject jsonFilePickItem)
static RecentPickList
getInstance()
static RecentPickList
getInstanceFromJSON(com.google.gwt.json.client.JSONArray jsa)
-
Methods inherited from class org.pentaho.mantle.client.solutionbrowser.filepicklist.AbstractFilePickList
addPickListListener, clear, contains, fireItemsChangedEvent, getFilePickList, getMaxSize, reloadFavorites, reloadRecents, remove, remove, removePickListListener, save, setFilePickList, setMaxSize, size, stringify, toJson, toString
-
-
-
-
Method Detail
-
createFilePickItem
public RecentPickItem createFilePickItem(com.google.gwt.json.client.JSONObject jsonFilePickItem)
-
getInstance
public static RecentPickList getInstance()
-
getInstanceFromJSON
public static RecentPickList getInstanceFromJSON(com.google.gwt.json.client.JSONArray jsa)
-
add
public void add(RecentPickItem pickListItem)
Handle the additional logic associated with adding a new recent including insertion as first item in array and checking list size.- Overrides:
add
in classAbstractFilePickList<RecentPickItem>
-
add
public void add(int index, RecentPickItem pickListItem)
Disable ability to add recent anywhere in list- Overrides:
add
in classAbstractFilePickList<RecentPickItem>
-
contains
public boolean contains(String fileNameWithPath)
- Specified by:
contains
in classAbstractFilePickList<RecentPickItem>
-
-