1 11 12 package org.eclipse.jface.internal.databinding.provisional.description; 13 14 import org.eclipse.jface.internal.databinding.provisional.observable.list.IObservableList; 15 16 17 23 public class TableModelDescription { 24 25 private final Property collectionProperty; 26 private final IObservableList observableList; 27 private final Object [] columnIDs; 28 29 33 public TableModelDescription(Property collectionProperty, Object [] columnIDs) { 34 this.collectionProperty = collectionProperty; 35 this.columnIDs = columnIDs; 36 this.observableList = null; 37 } 38 39 43 public TableModelDescription(IObservableList observableList, Object [] columnIDs) { 44 this.observableList = observableList; 45 this.columnIDs = columnIDs; 46 this.collectionProperty = null; 47 } 48 49 52 public Property getCollectionProperty() { 53 return collectionProperty; 54 } 55 56 59 public Object [] getColumnIDs() { 60 return columnIDs; 61 } 62 63 public IObservableList getObservableList() { 64 return observableList; 65 } 66 } 67 | Popular Tags |