public class BookmarksFavoriteListProvider extends AbstractFavoritesListProvider<Bookmark> implements BookmarksListener
BOOKMARKS_WEIGHT, BREAKPOINTS_WEIGHT, myChildren, myNode, myProject, TASKS_WEIGHT
TOPIC
EP_NAME
Constructor and Description |
---|
BookmarksFavoriteListProvider(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
bookmarkAdded(Bookmark b) |
void |
bookmarkChanged(Bookmark b) |
void |
bookmarkRemoved(Bookmark b) |
void |
bookmarksOrderChanged() |
void |
customizeRenderer(ColoredTreeCellRenderer renderer,
javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus) |
java.lang.String |
getCustomName(CommonActionsPanel.Buttons type) |
int |
getWeight() |
void |
handle(CommonActionsPanel.Buttons type,
Project project,
java.util.Set<java.lang.Object> selectedObjects,
javax.swing.JComponent component) |
boolean |
willHandle(CommonActionsPanel.Buttons type,
Project project,
java.util.Set<java.lang.Object> selectedObjects) |
compare, compareTo, createFavoriteListNode, getListName
public BookmarksFavoriteListProvider(Project project)
public void bookmarkAdded(Bookmark b)
bookmarkAdded
in interface BookmarksListener
public void bookmarkRemoved(Bookmark b)
bookmarkRemoved
in interface BookmarksListener
public void bookmarkChanged(Bookmark b)
bookmarkChanged
in interface BookmarksListener
public void bookmarksOrderChanged()
bookmarksOrderChanged
in interface BookmarksListener
public java.lang.String getCustomName(CommonActionsPanel.Buttons type)
getCustomName
in interface FavoritesListProvider
getCustomName
in class AbstractFavoritesListProvider<Bookmark>
public boolean willHandle(CommonActionsPanel.Buttons type, Project project, java.util.Set<java.lang.Object> selectedObjects)
willHandle
in interface FavoritesListProvider
willHandle
in class AbstractFavoritesListProvider<Bookmark>
public void handle(CommonActionsPanel.Buttons type, Project project, java.util.Set<java.lang.Object> selectedObjects, javax.swing.JComponent component)
handle
in interface FavoritesListProvider
handle
in class AbstractFavoritesListProvider<Bookmark>
public int getWeight()
getWeight
in interface FavoritesListProvider
public void customizeRenderer(ColoredTreeCellRenderer renderer, javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
customizeRenderer
in interface FavoritesListProvider
customizeRenderer
in class AbstractFavoritesListProvider<Bookmark>