org.tcat.citd.sim.udig.bookmarks
Class BookmarkCommandFactory

java.lang.Object
  extended by org.tcat.citd.sim.udig.bookmarks.BookmarkCommandFactory

public class BookmarkCommandFactory
extends java.lang.Object

Factory for creating bookmark-related commands

Since:
1.0.0
Author:
cole.markham

Method Summary
 NavCommand createGotoBookmarkCommand(Bookmark target)
          Creates a new GotoBookmarkCommand
static BookmarkCommandFactory getInstance()
          Creates a new BookmarkCommandFactory object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BookmarkCommandFactory getInstance()
Creates a new BookmarkCommandFactory object

Returns:
a new BookmarkCommandFactory object

createGotoBookmarkCommand

public NavCommand createGotoBookmarkCommand(Bookmark target)
Creates a new GotoBookmarkCommand

Parameters:
target - The target bookmark for the new command
Returns:
a new GotoBookmarkCommand object
See Also:
NavCommand