querying a server from oxygen as a plugin
Posted: Fri May 07, 2010 4:03 pm
hi,
i would like to have a plugin for oxygen developed. my requirements are pretty simple, but i wonder whether what i need could be accomplished in oxygen, or whether one would have to go for eclipse...
if we have:
i'd like my plugin to make it possible to:
a) query a web server with the content of w element, i.e. "word" when the user places the caret in the placeholder for the value of the lemma attribute
b) display an autocomplete panel for lemma="" based on the response from the server
c) allow the user to select a value from the autocomplete panel and write it as the value of the given lemma attribute
(there are some additional conditions to be met and a similar kind of autocomplete should be possible for the ana attribute, but that should be trivial, if the above three points can be taken care of)
so, can one do this as an oxygen plugin? it seems oxygen can only react to a text selection... but i am not sure. could one do it in eclipse? how would one go about it?
any general tips and advice would be greatly appreciated.
all best,
toma
i would like to have a plugin for oxygen developed. my requirements are pretty simple, but i wonder whether what i need could be accomplished in oxygen, or whether one would have to go for eclipse...
if we have:
Code: Select all
<w lemma="" ana="">word</w>
i'd like my plugin to make it possible to:
a) query a web server with the content of w element, i.e. "word" when the user places the caret in the placeholder for the value of the lemma attribute
b) display an autocomplete panel for lemma="" based on the response from the server
c) allow the user to select a value from the autocomplete panel and write it as the value of the given lemma attribute
(there are some additional conditions to be met and a similar kind of autocomplete should be possible for the ana attribute, but that should be trivial, if the above three points can be taken care of)
so, can one do this as an oxygen plugin? it seems oxygen can only react to a text selection... but i am not sure. could one do it in eclipse? how would one go about it?
any general tips and advice would be greatly appreciated.
all best,
toma