japazilian / multitype

Automatically exported from code.google.com/p/multitype
0 stars 0 forks source link

Lack of resource model for non-host shared files #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Basically, to enable many nice features in Eclipse, like the ability to save a 
file and display cursor position markers in an editor, every IEditor will need 
a resource behind it, usually an IFile.

Right now, non-hosts get these StringEditorInput's or whatnot, which do not 
maintain a resource.  We need to change this so that non-hosts get temporary 
copies of shared files saved locally when they open them in an editor tab 
(prefix the filename with a . and it will not show up in their Project 
Explorer).

We should also probably delete the temp files on closing a shared file.  Or 
not, and allow the user to save them and keep a cache.

Original issue reported on code.google.com by rvmille...@gmail.com on 14 Jun 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Creating a File
http://stackoverflow.com/questions/1624054/eclipse-plugin-create-a-new-file

Another method:
http://wiki.eclipse.org/FAQ_How_do_I_open_an_editor_on_something_that_is_not_a_f
ile%3F

though this is read-only

Original comment by rvmille...@gmail.com on 18 Jun 2011 at 10:43