Bug 372022 - [Core editor] Cannot open Papyrus diagrams from an archive
Summary: [Core editor] Cannot open Papyrus diagrams from an archive
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 08:28 EST by Camille Letavernier CLA
Modified: 2017-09-08 09:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2012-02-20 08:28:07 EST
The Papyrus diagram editor expects an FileEditorInput. However, when opening a diagram from a plug-in dependency, we actually receive a JarEntryEditorInput.

We should probably change the method signatures for accepting IStorageEditorInput instead of IFileEditorInput or FileEditorInput. From what I've seen, it should be possible (Although I've not checked everything). Most methods we use are actually inherited from IStorageEditorInput or IStorage.
Comment 1 Camille Letavernier CLA 2012-11-27 08:18:20 EST
The Papyrus Editor should also be able to handle FileStoreEditorInput (For external files, which are not located in the Workspace)
Comment 2 Camille Letavernier CLA 2014-05-20 12:06:19 EDT
Still valid in 1.0. However, the Papyrus Editors now supports URIs, so it should be trivial to support URIEditorInput