Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to get file which is in Project Explorer and open it from Navigator View?
How to get file which is in Project Explorer and open it from Navigator View? [message #990632] Thu, 13 December 2012 14:16 Go to next message
Saif Mfarrij is currently offline Saif MfarrijFriend
Messages: 9
Registered: December 2012
Junior Member
when I open file from project explorer or pakage explorer it opens in editor. but I want that when I click or open this file from there I want from Navigator View be active get that file which I slected from project explorer or pakage explorer and open that file and open it as model. I am searching for Idea for that but I didnt find good one. so can you please suggest me something?

Thanks a lot
Saif
Re: How to get file which is in Project Explorer and open it from Navigator View? [message #990709 is a reply to message #990632] Thu, 13 December 2012 18:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Saif,

I can't parse your question.

On 13/12/2012 5:21 PM, Saif Mfarrij wrote:
> when I open file from project explorer or pakage explorer it opens in
> editor. but I want that when I click or open this file from there I
> want from Navigator View be active get that file which I slected from
> project explorer or pakage explorer and open that file and open it as
> model. I am searching for Idea for that but I didnt find good one. so
> can you please suggest me something?
>
> Thanks a lot Saif


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to get file which is in Project Explorer and open it from Navigator View? [message #990840 is a reply to message #990709] Fri, 14 December 2012 11:56 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I tried the fuzzy parser, but that did not help either...

Ed Merks wrote on Thu, 13 December 2012 19:02
Saif,

I can't parse your question.

On 13/12/2012 5:21 PM, Saif Mfarrij wrote:
> when I open file from project explorer or pakage explorer it opens in
> editor. but I want that when I click or open this file from there I
> want from Navigator View be active get that file which I slected from
> project explorer or pakage explorer and open that file and open it as
> model. I am searching for Idea for that but I didnt find good one. so
> can you please suggest me something?
>
> Thanks a lot Saif

Re: How to get file which is in Project Explorer and open it from Navigator View? [message #991284 is a reply to message #990709] Tue, 18 December 2012 10:45 Go to previous messageGo to next message
Saif Mfarrij is currently offline Saif MfarrijFriend
Messages: 9
Registered: December 2012
Junior Member
I created wizard to create project and from that project I can create new file or import one. this file shows in Preject Explorer and Pakage Explorer and I can open the file from there. what I want that this file opens a new View and It opens from there. I mean that when I click on the file to open it. it opens editor but what I need that it opens a new view( like open new ECP Navigator...) not editor only. there is aways to modify the open action on the file to let me open anther view?
Re: How to get file which is in Project Explorer and open it from Navigator View? [message #991320 is a reply to message #991284] Tue, 18 December 2012 14:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Saif,

It's really hard to figure out what you're asking. Generally views show
things that are selected elsewhere in the perspective while editors are
opened for files. You don't generally open a view for a file.

On 18/12/2012 2:45 AM, Saif Mfarrij wrote:
> I created wizard to create project and from that project I can create
> new file or import one. this file shows in Preject Explorer and Pakage
> Explorer and I can open the file from there. what I want that this
> file opens a new View and It opens from there. I mean that when I
> click on the file to open it. it opens editor but what I need that it
> opens a new view( like open new ECP Navigator...) not editor only.
> there is aways to modify the open action on the file to let me open
> anther view?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Teneo] 'One shot delete' of a one-to-many containment's children
Next Topic:Xcore modelDirectory
Goto Forum:
  


Current Time: Thu Apr 25 05:28:25 GMT 2024

Powered by FUDForum. Page generated in 0.23340 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top