*/
public synchronized void initialize() throws PluginException
{
super.initialize();
IApplication app = getApplication();
// Load resources such as menu items, etc...
resources = new SQLBookmarkResources(RESOURCE_PATH, this);
bookmarkManager = new BookmarkManager(this);
// Load plugin preferences.
try
{
bookmarkManager.load();
}
catch (IOException e)
{
if (!(e instanceof FileNotFoundException))
{
logger.error("Problem loading bookmarkManager", e);
}
}
ActionCollection coll = app.getActionCollection();
coll.add(new AddBookmarkAction(app, resources, this));
coll.add(new EditBookmarksAction(app, resources, this));
coll.add(new RunBookmarkAction(app, resources, this));
createMenu();