Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to support RepositoryAttachementEditorInput
https://www.eclipse.org/forums/index.php/mv/msg/14496/46099/#msg_46099
How can I support Mylyn's RepositoryAttachementEditorInput in a custom
editor ? (This input is used to open an attached file in a task)
My editor can open an IFileEditorInput.
Do I need to explicitly support RepositoryAttachementEditorInput or can
it be adapted to another input type using getAdaptable() ?
Thanks,
--
Nicolas]]>Nicolas Richeton2008-03-27T16:23:19-00:00Re: How to support RepositoryAttachementEditorInput
https://www.eclipse.org/forums/index.php/mv/msg/14496/46130/#msg_46130
> How can I support Mylyn's RepositoryAttachementEditorInput in a custom
> editor ? (This input is used to open an attached file in a task)
>
> My editor can open an IFileEditorInput.
>
> Do I need to explicitly support RepositoryAttachementEditorInput or
> can it be adapted to another input type using getAdaptable() ?
Nicolas, I would strongly recommend to use IStorageEditorInput as a
base interface for any custom editor inputs. In that case you would be
able to work with content that is not represented with local files or
resources (that include stuff from task attachments and also from
version control systems, like things you can open from CVS Repositories
or History views). RepositoryAttachmentEditorInput implements
IStorageEditorInput.
regards,
Eugene]]>Eugene Kuleshov2008-03-27T16:46:54-00:00Re: How to support RepositoryAttachementEditorInput
https://www.eclipse.org/forums/index.php/mv/msg/14496/588720/#msg_588720
> How can I support Mylyn's RepositoryAttachementEditorInput in a custom
> editor ? (This input is used to open an attached file in a task)
>
> My editor can open an IFileEditorInput.
>
> Do I need to explicitly support RepositoryAttachementEditorInput or
> can it be adapted to another input type using getAdaptable() ?
Nicolas, I would strongly recommend to use IStorageEditorInput as a
base interface for any custom editor inputs. In that case you would be
able to work with content that is not represented with local files or
resources (that include stuff from task attachments and also from
version control systems, like things you can open from CVS Repositories
or History views). RepositoryAttachmentEditorInput implements
IStorageEditorInput.
regards,
Eugene]]>Eugene Kuleshov2008-03-27T16:46:54-00:00Re: How to support RepositoryAttachementEditorInput
https://www.eclipse.org/forums/index.php/mv/msg/14496/46191/#msg_46191
--
Nicolas
Eugene Kuleshov a écrit :
> Nicolas Richeton wrote:
>> How can I support Mylyn's RepositoryAttachementEditorInput in a custom
>> editor ? (This input is used to open an attached file in a task)
>>
>> My editor can open an IFileEditorInput.
>>
>> Do I need to explicitly support RepositoryAttachementEditorInput or
>> can it be adapted to another input type using getAdaptable() ?
> Nicolas, I would strongly recommend to use IStorageEditorInput as a
> base interface for any custom editor inputs. In that case you would be
> able to work with content that is not represented with local files or
> resources (that include stuff from task attachments and also from
> version control systems, like things you can open from CVS Repositories
> or History views). RepositoryAttachmentEditorInput implements
> IStorageEditorInput.
>
> regards,
> Eugene
>]]>Nicolas Richeton2008-03-27T20:09:28-00:00Re: How to support RepositoryAttachementEditorInput
https://www.eclipse.org/forums/index.php/mv/msg/14496/588743/#msg_588743
--
Nicolas
Eugene Kuleshov a écrit :
> Nicolas Richeton wrote:
>> How can I support Mylyn's RepositoryAttachementEditorInput in a custom
>> editor ? (This input is used to open an attached file in a task)
>>
>> My editor can open an IFileEditorInput.
>>
>> Do I need to explicitly support RepositoryAttachementEditorInput or
>> can it be adapted to another input type using getAdaptable() ?
> Nicolas, I would strongly recommend to use IStorageEditorInput as a
> base interface for any custom editor inputs. In that case you would be
> able to work with content that is not represented with local files or
> resources (that include stuff from task attachments and also from
> version control systems, like things you can open from CVS Repositories
> or History views). RepositoryAttachmentEditorInput implements
> IStorageEditorInput.
>
> regards,
> Eugene
>]]>Nicolas Richeton2008-03-27T20:09:28-00:00