1 20 21 package org.apache.directory.ldapstudio.browser.core.events; 22 23 24 import org.apache.directory.ldapstudio.browser.core.model.ISearch; 25 26 27 33 public class SearchUpdateEvent 34 { 35 36 39 public enum EventDetail 40 { 41 42 43 SEARCH_ADDED, 44 45 46 SEARCH_REMOVED, 47 48 49 SEARCH_PERFORMED, 50 51 55 SEARCH_PARAMETER_UPDATED, 56 57 58 SEARCH_RENAMED 59 } 60 61 62 private EventDetail detail; 63 64 65 private ISearch search; 66 67 68 74 public SearchUpdateEvent( ISearch search, EventDetail detail ) 75 { 76 this.search = search; 77 this.detail = detail; 78 } 79 80 81 86 public ISearch getSearch() 87 { 88 return search; 89 } 90 91 92 97 public EventDetail getDetail() 98 { 99 return detail; 100 } 101 102 } 103 | Popular Tags |