On 14/11/2007, Christopher Oezbek <[EMAIL PROTECTED]> wrote: > Hi Morten, Hi Guys, > three more plugins occurred to me that we probably will need in due > course: > > * TranslationContributions - So plugin providers can provide us with > translated versions of their strings. > * DefaultKeyboardSettings - So plugin providers can tell us which key > combination we should use in menus. We can probably combine this, with > writing a dialog for letting users customize their keyboard shortcuts.
We actually have one, although it has never been made available. I don't remember the class name at the moment, but it's there. > * Preference Pages - So plugin providers can add a tab to the preference > dialog. Yes, I was also thinking along these terms yesterday, since the PushToApplication entries may require settings for paths etc.. The Preference pages idea is a good one, but we must try to avoid the Preferences panel getting hopelessly cluttered with a lot of pages containing one or two entries each. For the PushToApplication entries I think a better way may be to let each entry provide its own preferences panel that can be called up by right-clicking on the toolbar button. For more extensive plugins, a Preferences page may be the best choice. I suppose both situations can be handled by the interfaces for the extension points defining two methods - one to provide a JPanel containing option settings, and another to notify the plugin that the user has updated the options (an OK button pressed somewhere). The JPanel can be embedded into a preferences tab or into its own dialog box. -- Morten ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jabref-devel mailing list Jabref-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jabref-devel