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 12:01
Michael Remme is currently offline Michael Remme
Messages: 2
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 07:33]

Report message to a moderator

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


Current Time: Tue Jul 29 18:55:29 EDT 2014

Powered by FUDForum. Page generated in 0.01875 seconds