Search found 13 matches

by Kit Strong
Thu Sep 04, 2014 4:19 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

Hi Kit, I understand. Did you use the API ro.sync.exml.workspace.api.editor.page.ditamap.WSDITAMapEditorPage.setEditable(boolean) to set it read-only? We'll try in a future version to automatically disable actions and drag and drop acceptance when the map (or a file opened in the main editor) is ma...
by Kit Strong
Wed Sep 03, 2014 7:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

UGH, Just ignore my previous 2 posts. I failed to notice that the Map I was testing with wasn't checked out and therefore was Read only. And since I've set the global option to dial low edits of Read only files...
by Kit Strong
Wed Sep 03, 2014 7:15 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

Here's the bit of code where I'm setting up the Trnasfer Data: @Override public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException { [b]System.out.println("GET TRANSFER: " + flavor);[/b] if (flavor.equals(DataFlavors.resourceFileFlavor)) { return resou...
by Kit Strong
Wed Sep 03, 2014 7:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

What about in DitaMap Manager?
I am trying to drop in a Transferable which supports the javaFileList DataFlavor and I get the '+' icon indicating it;s a valid drop target but nothing actually happens.

-Kit
by Kit Strong
Tue Sep 02, 2014 6:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

Cool, I had kind of guessed it was using the javaFileList flavor at a minimum but I wasn't entirely sure/ One thing I have noticed, which has made me step back and consider other approaches, is that the behavior when dragging files into the Author view is very inconsistent. Sometimes it does what I ...
by Kit Strong
Sat Aug 30, 2014 1:41 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

Re: One more question on DnD support.

I can't seem to edit or delete my original thread so here's a bit more specifics on what I'm trying to do. In my Custom View I have JTree where the Leaf Nodes contain, among other data, a Java File object pointing to the resource in question. So the main question is how do I convert that File instan...
by Kit Strong
Sat Aug 30, 2014 1:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: One more question on DnD support.
Replies: 10
Views: 5460

One more question on DnD support.

Let's say I have my own custom View in Oxygen which contains a JTree which has .setDragEnabled. Is there a particular DataFlavor or TransferHandler I need to use in order to leverage the existing DnD support in Author mode?
by Kit Strong
Sat Aug 30, 2014 3:42 am
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing Drag and Drop Support to the Editors?
Replies: 1
Views: 1675

Customizing Drag and Drop Support to the Editors?

Is it possible to customize the DitaMap, Author, and Text Editors to add custom DROP target support?
by Kit Strong
Sat Aug 30, 2014 12:51 am
Forum: SDK-API, Frameworks - Document Types
Topic: Is it possible to add a Page/View to the Main Editing Area?
Replies: 1
Views: 1764

Is it possible to add a Page/View to the Main Editing Area?

I am working on some custom Doctype specific views and it would be great if I could add them as existing options to the MAIN_EDITING_AREA where Text/Grid/Author reside. Looking through the API and the current documentation it doesn't seem like this is possible but it would definitely make for a much...
by Kit Strong
Mon Jul 28, 2014 4:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Accessing the Unsaved Changes dialog within a plugin?
Replies: 1
Views: 1691

Accessing the Unsaved Changes dialog within a plugin?

Before I go re-inventing the wheel I want to see if there is an easy way to leverage the existing unsaved changes dialog to check for unsaved modified files. Before calling a checkin or an update I would like to prompt the user about any unsaved changes. It won't take too much effort to code this my...
by Kit Strong
Wed Jul 16, 2014 5:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: WSAuthorEditorPage - proper way to modify popup menu?
Replies: 2
Views: 2019

Re: WSAuthorEditorPage - proper way to modify popup menu?

D'oh, now I really feel foolish because addPopupMenuCustomizer is exactly what I meant to call. Not sure why I called the set method nor why I didn't notice the mistake.
by Kit Strong
Wed Jul 16, 2014 1:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: WSAuthorEditorPage - proper way to modify popup menu?
Replies: 2
Views: 2019

WSAuthorEditorPage - proper way to modify popup menu?

It appears that setPopUpMenuCustomizer() is now deprecated for WSAuthorEditorPage but I don't really see any good alternative way of customizing the popup menu. So what's the best way to do this now keeping in mind that the customized menu options are dynamically generated for each resource based on...
by Kit Strong
Mon Oct 07, 2013 7:56 pm
Forum: Other Issues
Topic: Issues logiing into CMS through Oxyge, methods work fine whe
Replies: 1
Views: 1036

Issues logiing into CMS through Oxyge, methods work fine whe

In the process of trying to integrate some of my previous CMS based work into Oxygen I'm running into a problem where I can't actually authenticate on the server when calling my classes from within an Oxygen Extension. Here's some of the relevant code that is causing the problem. It works fine when ...