Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Showing EVL validation in "Problems" view: how to obtain it?
Showing EVL validation in "Problems" view: how to obtain it? [message #496258] Mon, 09 November 2009 09:23 Go to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi all,

I'm trying to reproduce EVL-GMF validation example: it works, I see the errors and warnings on my diagram surface, but I can't obtain validation errors and quick fix hint in my "Problems" view. I've added "org.eclipse.ui.views.ProblemView" in my DiagramEditorPerspective class by hand: is this wrong? What is the right way to do this?

Thanks in advance, regards

Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496261 is a reply to message #496258] Mon, 09 November 2009 09:26 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

Does it work if you open the Problems view manually (i.e. Window->Show
View->Problems)?

Cheers,
Dimitris

giovanni wrote:
> Hi all,
>
> I'm trying to reproduce EVL-GMF validation example: it works, I see the
> errors and warnings on my diagram surface, but I can't obtain
> validation errors and quick fix hint in my "Problems" view. I've added
> "org.eclipse.ui.views.ProblemView" in my DiagramEditorPerspective class
> by hand: is this wrong? What is the right way to do this?
>
> Thanks in advance, regards
>
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496262 is a reply to message #496261] Mon, 09 November 2009 09:38 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Dimitris,

I generated an RCP Application, I have no "Show view" menu item: maybe is this the problem?

Thanks for your help and for your effort on making GMF available for common mortals... Smile

Regards,
Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496271 is a reply to message #496262] Mon, 09 November 2009 09:50 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

Thanks for your feedback. I'm glad you're finding our work useful :)

I googled a bit and came across your previous question in the RCP forum:
http://www.eclipse.org/forums/index.php?t=msg&th=156085& amp;goto=492036#msg_492036

How is this question different to that one?

Cheers,
Dimitris

giovanni wrote:
> Hi Dimitris,
>
> I generated an RCP Application, I have no "Show view" menu item: maybe
> is this the problem?
>
> Thanks for your help and for your effort on making GMF available for
> common mortals... :)
>
> Regards,
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496274 is a reply to message #496271] Mon, 09 November 2009 10:08 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

The previous question was about how to DISPLAY the 'Problem' view in my Perspective, and it was resolved; now I have the problem on how to MAKE 'Problem' view WORKING: I have the validation enabled and working on diagram surface (with validation markers), but I can't see error and warning messages in my 'Problems' view, that remains blank.

Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496284 is a reply to message #496274] Mon, 09 November 2009 10:36 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

OK I see now. I'll have to investigate and get back to you.

Cheers,
Dimitris

giovanni wrote:
> The previous question was about how to DISPLAY the 'Problem' view in my
> Perspective, and it was resolved; now I have the problem on how to MAKE
> 'Problem' view WORKING: I have the validation enabled and working on
> diagram surface (with validation markers), but I can't see error and
> warning messages in my 'Problems' view, that remains blank.
>
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496372 is a reply to message #496284] Mon, 09 November 2009 14:23 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

I've reproduced this but I'm not really sure how to overcome it. I
suspect the problems view displays markers of workspace resources but
since you're in RCP mode there's no such thing as a workspace.

I'll keep looking for a solution as this will be a good addition to the
EVL/GMF article. If you find any solution before I do, please report
back so that I can add it to the article for the benefit of other people
who may run across the same problem in the future.

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Giovanni,
>
> OK I see now. I'll have to investigate and get back to you.
>
> Cheers,
> Dimitris
>
> giovanni wrote:
>> The previous question was about how to DISPLAY the 'Problem' view in my
>> Perspective, and it was resolved; now I have the problem on how to MAKE
>> 'Problem' view WORKING: I have the validation enabled and working on
>> diagram surface (with validation markers), but I can't see error and
>> warning messages in my 'Problems' view, that remains blank.
>>
>> Giovanni.
>
>
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #496467 is a reply to message #496372] Tue, 10 November 2009 03:56 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Dimitris,

ok, if I find the solution I report back as soon as possible. Thank you for support, I guess you are right about workspace problem, I'll investigate it.

Regards,
Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #500644 is a reply to message #496258] Fri, 27 November 2009 04:58 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

In GMF Forum I've found this response:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279084

Simply, Problems view don't work in RCP app.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #500645 is a reply to message #500644] Fri, 27 November 2009 04:59 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Thanks for the update!

Cheers,
Dimitris

giovanni wrote:
> In GMF Forum I've found this response:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=279084
>
> Simply, Problems view don't work in RCP app.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582591 is a reply to message #496258] Mon, 09 November 2009 09:26 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

Does it work if you open the Problems view manually (i.e. Window->Show
View->Problems)?

Cheers,
Dimitris

giovanni wrote:
> Hi all,
>
> I'm trying to reproduce EVL-GMF validation example: it works, I see the
> errors and warnings on my diagram surface, but I can't obtain
> validation errors and quick fix hint in my "Problems" view. I've added
> "org.eclipse.ui.views.ProblemView" in my DiagramEditorPerspective class
> by hand: is this wrong? What is the right way to do this?
>
> Thanks in advance, regards
>
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582605 is a reply to message #496261] Mon, 09 November 2009 09:38 Go to previous message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Dimitris,

I generated an RCP Application, I have no "Show view" menu item: maybe is this the problem?

Thanks for your help and for your effort on making GMF available for common mortals... :)

Regards,
Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582617 is a reply to message #582605] Mon, 09 November 2009 09:50 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

Thanks for your feedback. I'm glad you're finding our work useful :)

I googled a bit and came across your previous question in the RCP forum:
http://www.eclipse.org/forums/index.php?t=msg&th=156085& amp;goto=492036#msg_492036

How is this question different to that one?

Cheers,
Dimitris

giovanni wrote:
> Hi Dimitris,
>
> I generated an RCP Application, I have no "Show view" menu item: maybe
> is this the problem?
>
> Thanks for your help and for your effort on making GMF available for
> common mortals... :)
>
> Regards,
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582629 is a reply to message #496271] Mon, 09 November 2009 10:08 Go to previous message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

The previous question was about how to DISPLAY the 'Problem' view in my Perspective, and it was resolved; now I have the problem on how to MAKE 'Problem' view WORKING: I have the validation enabled and working on diagram surface (with validation markers), but I can't see error and warning messages in my 'Problems' view, that remains blank.

Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582645 is a reply to message #496274] Mon, 09 November 2009 10:36 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

OK I see now. I'll have to investigate and get back to you.

Cheers,
Dimitris

giovanni wrote:
> The previous question was about how to DISPLAY the 'Problem' view in my
> Perspective, and it was resolved; now I have the problem on how to MAKE
> 'Problem' view WORKING: I have the validation enabled and working on
> diagram surface (with validation markers), but I can't see error and
> warning messages in my 'Problems' view, that remains blank.
>
> Giovanni.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582658 is a reply to message #496284] Mon, 09 November 2009 14:23 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Giovanni,

I've reproduced this but I'm not really sure how to overcome it. I
suspect the problems view displays markers of workspace resources but
since you're in RCP mode there's no such thing as a workspace.

I'll keep looking for a solution as this will be a good addition to the
EVL/GMF article. If you find any solution before I do, please report
back so that I can add it to the article for the benefit of other people
who may run across the same problem in the future.

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Giovanni,
>
> OK I see now. I'll have to investigate and get back to you.
>
> Cheers,
> Dimitris
>
> giovanni wrote:
>> The previous question was about how to DISPLAY the 'Problem' view in my
>> Perspective, and it was resolved; now I have the problem on how to MAKE
>> 'Problem' view WORKING: I have the validation enabled and working on
>> diagram surface (with validation markers), but I can't see error and
>> warning messages in my 'Problems' view, that remains blank.
>>
>> Giovanni.
>
>
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #582675 is a reply to message #496372] Tue, 10 November 2009 03:56 Go to previous message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Dimitris,

ok, if I find the solution I report back as soon as possible. Thank you for support, I guess you are right about workspace problem, I'll investigate it.

Regards,
Giovanni.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #583281 is a reply to message #496258] Fri, 27 November 2009 04:58 Go to previous message
Giovanni De Sossi is currently offline Giovanni De Sossi
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

In GMF Forum I've found this response:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=279084

Simply, Problems view don't work in RCP app.
Re: Showing EVL validation in "Problems" view: how to obtain it? [message #583290 is a reply to message #583281] Fri, 27 November 2009 04:59 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Thanks for the update!

Cheers,
Dimitris

giovanni wrote:
> In GMF Forum I've found this response:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=279084
>
> Simply, Problems view don't work in RCP app.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:How to use Native with my own Java classes?
Next Topic:Eugenia don't create gmfmap,gmftool,gmfgraph...come in an infinite loop
Goto Forum:
  


Current Time: Thu Apr 17 03:55:11 EDT 2014

Powered by FUDForum. Page generated in 0.03184 seconds