| java.lang.Object tide.editor.SharedUtils
SharedUtils | final public class SharedUtils (Code) | | Some shared popups.
|
Method Summary | |
public static void | addBookmarksPopup(JComponent popup, String filterForBookmarkManagement) Used in the main frame, editor panel, sources tree, lib tree.
Manage Bookmarks and bookmark list (jump) entry. | public static void | addRecentBookmarks(JComponent popup, int max) | public static void | addStandardPopupDocumentActions(JPopupMenu popup, SimpleDocument doc, SearchPanel searchPanel, JTextPane pane, int clickedPos, boolean withCopyWithoutHead) Copy, paste, paste-hist, delete, search, used for the output panels such as compiler and execution
allow paste even for readonly documents, useful for stacktraces pasting !!
Also adds the "paste" history from ClipboardUtils.j
BE CAREFUL With shortcus, they are "fake" and focus is not really precise. | public static Collection<SourceBookmark> | getRecentBookmarks(int max) | public static List<JMenuItem> | getUtilitiesMenuItems_(ProjectSettings actualProject) |
addBookmarksPopup | public static void addBookmarksPopup(JComponent popup, String filterForBookmarkManagement)(Code) | | Used in the main frame, editor panel, sources tree, lib tree.
Manage Bookmarks and bookmark list (jump) entry. No add function here.
Parameters: popup - is either a menu or a popupmenu. |
addRecentBookmarks | public static void addRecentBookmarks(JComponent popup, int max)(Code) | | |
addStandardPopupDocumentActions | public static void addStandardPopupDocumentActions(JPopupMenu popup, SimpleDocument doc, SearchPanel searchPanel, JTextPane pane, int clickedPos, boolean withCopyWithoutHead)(Code) | | Copy, paste, paste-hist, delete, search, used for the output panels such as compiler and execution
allow paste even for readonly documents, useful for stacktraces pasting !!
Also adds the "paste" history from ClipboardUtils.j
BE CAREFUL With shortcus, they are "fake" and focus is not really precise.
|
|
|