1 13 package com.tonbeller.jpivot.navigator.member; 14 15 import java.util.List ; 16 17 import com.tonbeller.jpivot.olap.model.Member; 18 import com.tonbeller.wcf.selection.DefaultSelectionModel; 19 20 26 public class MemberSelectionModel extends DefaultSelectionModel { 27 28 List orderedSelection; 29 30 33 public MemberSelectionModel() { 34 super(); 35 } 36 37 41 public MemberSelectionModel(int mode) { 42 super(mode); 43 } 44 45 48 public boolean isSelectable(Object item) { 49 return super.isSelectable(item) && item instanceof Member; 50 } 51 52 public void setOrderedSelection(List list) { 53 super.setSelection(list); 54 this.orderedSelection = list; 55 } 56 57 public List getOrderedSelection() { 58 return orderedSelection; 59 } 60 61 } 62 | Popular Tags |