Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » diagram file
diagram file [message #205526] Mon, 15 September 2008 14:27 Go to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

I have created a diagram file and created the object FileEditorInput.
Now I want to open my editor through -
page.openEditor(input, editor.ID, true);

But it is throwing some error, saying -

Can not open input element:

Reason:
Resource 'file.semantic_diagram' does not exist.

But I have checked, it is their in the said location.

Could anyone suggest me in this regard?

Thanks & Regards,
Manoj
Re: diagram file [message #206357 is a reply to message #205526] Tue, 23 September 2008 01:26 Go to previous message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
Do you get an exception stack trace? (If not, look in the Error Log.)
Try going through that with the debugger.

Jevon

Manoj Mitra wrote:
> Hi! All,
>
> I have created a diagram file and created the object FileEditorInput.
> Now I want to open my editor through -
> page.openEditor(input, editor.ID, true);
>
> But it is throwing some error, saying -
>
> Can not open input element:
>
> Reason:
> Resource 'file.semantic_diagram' does not exist.
>
> But I have checked, it is their in the said location.
>
> Could anyone suggest me in this regard?
>
> Thanks & Regards,
> Manoj
Previous Topic:Get the editPart from an Impl
Next Topic:gmf logging
Goto Forum:
  


Current Time: Fri Apr 19 03:02:11 GMT 2024

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

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

Back to the top