Hi,
I would like to refactor the IProject implementation in Saros/I and have
a few questions about how the Resources API works in Eclipse:
* Is ResourcesPlugin.getWorkspace().getRoot() the best way to get at
the workspace?
- If yes, We will need a unified mechanism for getting projects
from somewhere
- Should it have static methods? In that case I dont know how to
implement it :-)
- otherwise I would suggest and interface + adding the
implementation to PicoContainer
* Would it work to mimick the IProject.getFile() and .getFolder()
behaviour of creating handles by using the io.File API? (If we assume we
always work on files and not something exotic)
- I currently see no reason against it, because File creates
handles too and actual files are only created when IFile.create() is called.
Regards,
Holger
--
Holger Schmeisky;[email protected]
Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
+49 176 64146306
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DPP-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-devel