1 20 21 package org.apache.directory.ldapstudio.browser.core.events; 22 23 24 import org.apache.directory.ldapstudio.browser.core.model.IBookmark; 25 26 27 33 public class BookmarkUpdateEvent 34 { 35 36 39 public enum Detail 40 { 41 42 BOOKMARK_ADDED, 43 44 45 BOOKMARK_UPDATED, 46 47 48 BOOKMARK_REMOVED 49 } 50 51 52 private Detail detail; 53 54 55 private IBookmark bookmark; 56 57 58 64 public BookmarkUpdateEvent( IBookmark bookmark, Detail detail ) 65 { 66 this.bookmark = bookmark; 67 this.detail = detail; 68 } 69 70 71 76 public IBookmark getBookmark() 77 { 78 return bookmark; 79 } 80 81 82 87 public Detail getDetail() 88 { 89 return detail; 90 } 91 92 } 93 | Popular Tags |