Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » FileStore extension - difference between new file and folder
FileStore extension - difference between new file and folder [message #973832] Tue, 06 November 2012 17:01
Michael Remme is currently offline Michael RemmeFriend
Messages: 9
Registered: October 2012
Junior Member
currently i am developing an own implementation of FileStore, additionally i extended org.eclipse.ui.ide.filesystemSupport, so that i am able to work on my filesystem in eclipses standard NewFileWizzards. That way i am able to add new files or folders into my filesystem.
The question i have is: how can i programatically decide, wether the user choose the creation of a new file or a new folder? ( my fs is not using suffixes in files ).
I saw, that the creation of new directories is calling the mkdir, where the creation of new files is calling openOutputStream.

Is that the only and preferred way to decide?

tia, Michael

[Updated on: Wed, 07 November 2012 12:33]

Report message to a moderator

Previous Topic:Breakpoints not appearing on vertical ruler
Next Topic:Menu in multipage editor
Goto Forum:

Current Time: Wed Oct 28 23:28:07 GMT 2020

Powered by FUDForum. Page generated in 0.01977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top