Usually, file association is platform-dependent. Yet, this requirement may lead to additional programming to handle the different ways file parameters are provided by the various OSes (Windows, Linus, Solaris, Mac OS). For instance, file paths may use "\" or "/". Maybe Eclipse can help...

-- DanielAmyot - 30 Jan 2005

.jacm or .jucm? I'm not sure we can event link to eclipse as a default editor because all files must be in projects. We'll have to investigate. For file paths, in the Resource API, they use a common scheme that is mapped to the file system. At the file system level, we might have to deal differently with these but probably the Java VM will help.

-- JasonKealey - 31 Jan 2005

.jucm

-- JasonKealey - 31 Jan 2005

GEF can provide native drag and drop from the OS to Eclipse. GEF allows access to the operating system's underlying drag and drop infrastructure through SWT.

Using Native Drag and Drop with GEF

That do not answer the question if we can associate certain file type to eclipse with the jucmnva perspective, but it's a start... We know we can access the underlying api for such functionnalities.

-- EtienneTremblay - 03 Feb 2005

This one is not a priority. This might be easier with a standalone app than with an Eclipse plug-in. This could perhaps be done by associating the extension with a batch file that would start Eclipse with the appropriate file or project.

-- DanielAmyot - 13 Feb 2005

I don't think we can do it. If I open a Java file with Eclipse, it just load Eclipse and show my workspace. It doesn't open the file. Furthermore, Rational Software Architect is not associated with their file extensions. The second point in my mind is that if we use the update site approach to deploy JUCMNav, it's hard to detect the OS and, in the case of Windows change the registry, or in the case of Linux/Unix/*BSD, detect the window manager and create an association there.

-- OlivierCliftNoel - 16 Feb 2005

Rejected -- JasonKealey - 16 Feb 2005

http://help.eclipse.org/help30/topic/org.eclipse.platform.doc.user/reference/ref-13.htm?resultof=%22%46%69%6c%65%22%20%22%66%69%6c%65%22%20

We might end up doing it anyways smile

-- JasonKealey - 10 Apr 2005

This file association seems to be from the Eclipse Workbench, not the OS... But i'll take whatever is offered smile

-- DanielAmyot - 12 Apr 2005

FormForReq edit

Req Name ReqFileAssociation
Description jUCMNav SHOULD be the application selected by the OS for its files (e.g., .jucm)
Type Platform
Importance Optional
Priority Low
Status Rejected
Author DanielAmyot
Dependencies ReqOpen
Verification Approach
Test Cases
Topic revision: r9 - 12 Apr 2005, DanielAmyot
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback