Search found 13 matches

by bk-one
Thu Jan 10, 2019 7:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Finding the node at the caret positoin
Replies: 7
Views: 4482

Re: Finding the node at the caret positoin

hi,
are there any developments regarding this?
thanks,
barbara
by bk-one
Thu Jan 10, 2019 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: add OptionListener to OptionStorage in wsaccess js plugin
Replies: 2
Views: 1675

Re: add OptionListener to OptionStorage in wsaccess js plugin

hi radu,

thanks for your effort.
that would be great!

best wishes,
barbara
by bk-one
Wed Jan 09, 2019 4:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: add OptionListener to OptionStorage in wsaccess js plugin
Replies: 2
Views: 1675

add OptionListener to OptionStorage in wsaccess js plugin

hi,

has somebody in the oxygen team successfully added an OptionListener to the optionStorage in an javascript based wsaccess plugin?

best wishes,
barbara
by bk-one
Thu Jan 03, 2019 3:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: access project history from wsaccess plugin
Replies: 6
Views: 3427

Re: access project history from wsaccess plugin

thanks radu,

is there some listener i can use if the editorvariables are changing i.e. if a new project is selected?

best wishes,
barbara
by bk-one
Fri Dec 28, 2018 12:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: access project history from wsaccess plugin
Replies: 6
Views: 3427

Re: access project history from wsaccess plugin

hi radu, thanks for your response. no problem. i guess it's rather curiosity while exploring the plugin possibilities than an actual need :-) the use case would be allowing users to set plugin options from a custom preferences page for multiple projects that they are constantly using. it would be si...
by bk-one
Thu Dec 27, 2018 2:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: access project history from wsaccess plugin
Replies: 6
Views: 3427

access project history from wsaccess plugin

hi again, another question regarding wsaccess plugins: is it possible to access the project history displayed in the project view? i guess it would be a method in the ProjectController Interface (https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/index.html?ro/sync/exml/plugin/Plugin.html) best w...
by bk-one
Mon Dec 17, 2018 1:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: add options page from js workspace access plugin
Replies: 2
Views: 1979

add options page from js workspace access plugin

hi, i'm working on a js wsaccess plugin and i would like to add a preference page allowing users to store their plugin settings.
do i need a second plugin based on the Option Page Plugin Extension interface or can i create the preference page in my wsaccess.js?

best wishes,
barbara
by bk-one
Tue Jan 16, 2018 3:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: use rhino require in wsaccess plugin
Replies: 4
Views: 3282

Re: use rhino require in wsaccess plugin

hi, thanks and sorry for my mistake: require isn't a rhino but a commonjs function which is available in rhino since version 1.7R3. http://tschaub.net/blog/2011/05/17/commonjs-modules-with-rhino.html So js.jar already contains the needed code. https://mozilla.github.io/rhino/javadoc/org/mozilla/java...
by bk-one
Thu Jan 11, 2018 6:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: use rhino require in wsaccess plugin
Replies: 4
Views: 3282

use rhino require in wsaccess plugin

hi,
can you tell me, how to use rhinos require method in an wsaccess javascript plugin?
i would really like to split up my code in smaller "submodules".
best wishes,
barbara
by bk-one
Wed Oct 25, 2017 6:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: using resultsmanager in workspaceaccessplugin
Replies: 5
Views: 3657

Re: using resultsmanager in workspaceaccessplugin

wow, now i feel stupid :) should have been able to figure that out by myself. just one last question and then i'll stop bothering you. my goal is to display the results in a table in my plugin-view (so the use case would be: user runs xpath => reviews results, maybe deletes some => clicks a button i...
by bk-one
Tue Oct 24, 2017 11:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: using resultsmanager in workspaceaccessplugin
Replies: 5
Views: 3657

Re: using resultsmanager in workspaceaccessplugin

Hi Sorin,

thanks for your quick response.
sorry, i guess i misunderstood the ResultManager.

I would like to use the results produced by operations run from Oxygens Xpath Toolbar.
Here's a screenshot: https://drive.google.com/file/d/0B1jIsa ... 9icFk/view

Best wishes,
Barbara
by bk-one
Mon Oct 23, 2017 4:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: using resultsmanager in workspaceaccessplugin
Replies: 5
Views: 3657

using resultsmanager in workspaceaccessplugin

hi, how can i use the ResultsManager in a javascript-based workspace access plugin? i can't figure out how to add the right Listener to check if an operation produces results. So if someone runs an Xpath Operation, i would like to use the results in my plugin view. and if i would be able to use the ...