OpenDocumentFragmentInNewTabOperation

Are you missing a feature? Request its implementation here.
Claudius Teodorescu
Posts: 6
Joined: Tue Nov 04, 2014 7:05 pm

OpenDocumentFragmentInNewTabOperation

Post by Claudius Teodorescu »

Hi,


I wonder it would be of interest a feature allowing user to edit in another tab a fragment of the currently edited document. (this is really handy for big or complex documents)

The scenario of usage would be as follows:
1. user clicks a button associated with the element whose content is to be edited;
2. a temporary file is created on disk, and this file in opened in Oxygen in another tab (the temporary file name can be <current file name>#<unique identifier>.xml);
3. the use edits and saves the document fragment file, and the changes are propagated to the master document.

The user can edit multiple document fragment at once.

An implementation for editing document fragments in Author Mode can be found at https://raw.githubusercontent.com/claud ... ation.java.

Waiting for feedback,
Claudius Teodorescu
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: OpenDocumentFragmentInNewTabOperation

Post by Radu »

Hi Claudius,

The forum is a static place, registered users usually receive notifications on their own threads.
So if you want feedback from other users you could consider registering and asking the question on the Oxygen SDK or Oxygen Users List.
In Oxygen 18.1 there will be a new API method ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.createEditorComponentProvider() which allows you to create your own XML editing component, component for which you define the list of edit modes (Author, Text) and which you can add for example in your own custom dialog so using this API will be another possible way to edit small XML fragments without the need to open new editor tabs.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply