Hi,

I've made a new plugin available in the Patches section. The intention
is partly to have an example plugin for developers, so if anyone has
comments and suggestions for improvements to the build file etc.,
please notify me. I'm sure the Ant file could be improved, and I'd
like this plugin (and other example plugins) to be an example of "best
practices" for plugin developers.

I think this plugin is fairly useful, too. It allows the user to
configure a custom "push to application" feature. By using the proper
cite command, I believe this plugin can emulate all of the other
currentpush-to features. When it's finished, I think we should
consider making it part of the standard distribution.

Regarding configurability of the plugin, I've gone with the method I
suggested earlier. All the PushToApplication implementations must
provide a getSettingsPanel() method and a storeSettings() method. When
the user right-clicks the push-to icon, a "Settings" option pops up,
letting the user open a settings window (containing the provided
settings panel). When the user clicks Ok, the storeSettings() method
is called to let the plugin store the settings of the widgets in the
panel.

I think this method works pretty well for the PushToApplication case,
but I'm of course willing to discuss what approach to use!


-- 
Morten

---------- Forwarded message ----------
From: SourceForge.net <[EMAIL PROTECTED]>
Date: 17 Nov 2007 13:58
Subject: [ jabref-Patches-1833617 ] Plugin for generic push citations
to application
To: [EMAIL PROTECTED]


Patches item #1833617, was opened at 2007-11-17 12:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=600308&aid=1833617&group_id=92314

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Omholt Alver (mortenalver)
Assigned to: Nobody/Anonymous (nobody)
Summary: Plugin for generic push citations to application

Initial Comment:
This plugin provides a configurable function for pushing citations to
external applications. You configure the plugin by selecting this
entry in the dropdown list for push to external applications, and then
right-clicking the icon and selecting "Settings".

The settings panel lets you set a cite command string, which will be
used as a CLI command when you activate the push function. Spaces in
the command string will be used to split the command into separate
parts. To insert a non-breaking space, use the escape sequence "\s"
(without the quotes). You indicate the point where the selected
entries' cite keys should be inserted with "\k" (without the quotes).
Finally, literal backslashes must be escaped, so they are written as
"\\" (without the quotes).


Note that plugins are only supported in JabRef versions newer than
version 2.3 (at the time of writing this, only the SVN version
supports plugins). This plugin is made available partly as an example
for people who want to develop plugins.

To use the plugin, drop it into a directory named "plugins" directly
below the directory where the JabRef jar file is located. JabRef must
be restarted to find the plugin.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=600308&aid=1833617&group_id=92314

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jabref-devel mailing list
Jabref-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jabref-devel

Reply via email to