Drag file to DITA Maps Manager

Are you missing a feature? Request it's implementation here.
jelovirt
Posts: 85
Joined: Tue Oct 11, 2005 9:17 am
Location: Helsinki, Finland
Contact:

Drag file to DITA Maps Manager

Post by jelovirt » Mon Dec 08, 2008 11:33 am

On OS X (OS X 10.5.5, Java 1.5 & 1.6) you can drag a file to DITA Maps Manager from e.g. Finder, but you can't drag a file from Oxygen main editor to the DITA Maps Manager. The opposite can be done by clicking "Open map in editor" button. Could the drag-and-drop be added to drag a file from the editor window to DITA Maps Manager?

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Drag file to DITA Maps Manager

Post by sorin_ristache » Mon Dec 08, 2008 11:51 am

Hello,

I think that is not necessary. When you open a DITA map file (a file with .ditamap extension) Oxygen asks you how you want to open the file: as a DITA map in the view DITA Maps Manager or as a normal XML file in the XML editor panel. It does not matter if you open the file from the global toolbar button Open of the Oxygen window or from the toolbar button Open of the view DITA Maps Manager.

If your DITA map files have other extension you can add it to the DITA Map document type from Options -> Preferences -> Document Type Association.


Regards,
Sorin

jannylun
Posts: 16
Joined: Wed May 20, 2009 2:25 pm

Re: Drag file to DITA Maps Manager

Post by jannylun » Wed May 20, 2009 2:27 pm

I second this request. Especially considering the workaround for running DITA-OT transformations on DITA topics, it would be nice to be able to drag'n'drop files into the DITA Maps Manager.

Reference: http://www.oxygenxml.com/pipermail/oxyg ... 02393.html

Radu
Posts: 7580
Joined: Fri Jul 09, 2004 5:18 pm

Re: Drag file to DITA Maps Manager

Post by Radu » Wed May 20, 2009 4:42 pm

Hi,

The problem is that the drag behavior is used to re-arrange or split editor tabs in the edit area.
We cannot add the behavior of dragging tabs to the DITA Maps Manager or to the Project without disabling the default behavior which is done through a third party component (the Jide docking framework) and cannot be controlled from our code.

For now my advice is to link your directories in the Oxygen Project and then right click files and choose "Open with... DITA Maps Manager".

The possibility to transform topics with the DITA Open Toolkit when opened in the main editor area will probably be added after Oxygen 11 as this implies some major changes in the way we handle creating new transformation scenarios.

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

jannylun
Posts: 16
Joined: Wed May 20, 2009 2:25 pm

Re: Drag file to DITA Maps Manager

Post by jannylun » Mon May 25, 2009 12:43 pm

Radu wrote:The problem is that the drag behavior is used to re-arrange or split editor tabs in the edit area.
We cannot add the behavior of dragging tabs to the DITA Maps Manager or to the Project without disabling the default behavior which is done through a third party component (the Jide docking framework) and cannot be controlled from our code.
Could it be possible to add an option to enable / disable the current behavior? If the behavior was disabled I suppose you could handle drag / dropping files easier.
Radu wrote: For now my advice is to link your directories in the Oxygen Project and then right click files and choose "Open with... DITA Maps Manager".
Would it be possible to get this added in the context menu of tabs in the editor window? Then there wouldn't be a need of adding files in a project just to get them opened in the maps manager.

Br,
Jan

Radu
Posts: 7580
Joined: Fri Jul 09, 2004 5:18 pm

Re: Drag file to DITA Maps Manager

Post by Radu » Tue May 26, 2009 11:52 am

jannylun wrote:Could it be possible to add an option to enable / disable the current behavior? If the behavior was disabled I suppose you could handle drag / dropping files easier.
Unfortunately this is not possible right now without completely breaking the docking feature for editors.
jannylun wrote:Would it be possible to get this added in the context menu of tabs in the editor window? Then there wouldn't be a need of adding files in a project just to get them opened in the maps manager.
It would be possible but the point is the flow needs to be reworked so that DITA-OT transformations could be easily performed on DITA topics. Opening topics in the DITA Maps Manager is obviously a workaround to allow this. So we are trying to avoid implementing workarounds for other workarounds as these will lead to complications in the user interface.

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

jannylun
Posts: 16
Joined: Wed May 20, 2009 2:25 pm

Re: Drag file to DITA Maps Manager

Post by jannylun » Tue May 26, 2009 1:21 pm

Radu wrote: It would be possible but the point is the flow needs to be reworked so that DITA-OT transformations could be easily performed on DITA topics. Opening topics in the DITA Maps Manager is obviously a workaround to allow this. So we are trying to avoid implementing workarounds for other workarounds as these will lead to complications in the user interface.
Yes, for topics this would be a workaround, but for DITA Maps it would be useful to have a function "open in maps manager" similar to the existing "open in editor" that can be used from within the maps manager.

simonbate
Posts: 3
Joined: Mon Sep 28, 2009 7:39 pm

Re: Drag file to DITA Maps Manager

Post by simonbate » Thu Dec 10, 2009 6:25 pm

XMetaL allows you to switch between their Map Editor and the XML editor for DITA maps. I was quite surprised to find that oXygen only goes one way: from the Maps Manager to the Editor. This means, if I initially open a map in the Editor and want to get a Maps Manager view on the file, I have to close it and re-open it from the Maps Manager. For symmetry's sake, please consider adding a "Editor to Maps Manager" command.

adrian
Posts: 2740
Joined: Tue May 17, 2005 4:01 pm

Re: Drag file to DITA Maps Manager

Post by adrian » Fri Dec 11, 2009 4:39 pm

Hi,

We will consider adding on an editor tab an "Open in DITA Maps Manager" action as this seems to be a popular use case with our users.

Kind regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply