Ignore:
Timestamp:
2001-04-04T22:44:38+12:00 (23 years ago)
Author:
daven
Message:

turned on the BerryBasket. Try right-clicking on a result in the results List
to add one - no delete yet. Re-sizing maybe improved as well - no
guarantees yet though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Result.java

    r2165 r2281  
    3535       private String docID;
    3636       private String collectionName;
     37       private QueryHistoryItem queryHistoryItem;
    3738
    3839
    39     public final static Result FAKE_RESULT = new Result("No results returned", "", "");
    40     public final static Result INITIAL_FAKE_RESULT = new Result("Search results will appear here", "", "");
     40    public final static Result FAKE_RESULT = new Result("No results returned", "", "", new QueryHistoryItem() );
     41    public final static Result INITIAL_FAKE_RESULT = new Result("Search results will appear here", "", "",  new QueryHistoryItem());
    4142       // related query
    4243       // time, person, collection etc
    4344
    44          public Result( String newResultTitle)
    45          {   
    46          resultTitle = newResultTitle;
    47          }
     45    public Result( String newResultTitle) { 
     46    resultTitle = newResultTitle;
     47    }
    4848         
    49    public Result( String newResultTitle, String newResultDocID,  String newResultCollectionName)
     49   public Result( String newResultTitle, String newResultDocID,  String newResultCollectionName, QueryHistoryItem newQueryHistoryItem)
    5050         {   
    5151         resultTitle = newResultTitle;
    5252     docID = newResultDocID;
    5353     collectionName = newResultCollectionName;
     54     queryHistoryItem = newQueryHistoryItem;
    5455         }
    5556
    56    public String toString ()
    57          {
    58          return resultTitle;
    59          }
    60     public String getDocID()
    61     {
    62         return docID;
    63     }
    64     public String getCollectionName()
    65     {
     57    public String toString () {
     58    return resultTitle;
     59    }
     60    public String getDocID() {
     61    return docID;
     62    }
     63    public String getCollectionName() {
    6664    return collectionName;
     65    }
     66    public QueryHistoryItem getQueryHistoryItem() {
     67    return queryHistoryItem;
    6768    }
    6869
Note: See TracChangeset for help on using the changeset viewer.