@Override public String getName() { if (currentBookmark != null) { return currentBookmark.getName(); } return null; }
/** @param currentBookmark the currentBookmark to set */ public void setCurrentBookmark(IBookmark bookmark) { if (!bookmark.equals(currentBookmark)) { currentBookmark = bookmark; // notify everything that is listening for a strategy change this.notifyListeners(new BoundaryListener.Event(this)); } }
@Override public ReferencedEnvelope getExtent() { if (currentBookmark != null) { return currentBookmark.getEnvelope(); } return null; }