Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with Indigo release
Problem with Indigo release [message #693745] Thu, 07 July 2011 06:42 Go to next message
chris is currently offline chrisFriend
Messages: 72
Registered: July 2009
Member
Hi,

running against Ganymede, my GMF editors run just fine. However, after
upgrading to Indigo (I skipped Helios), I'm running into some problems,
and regenerating doesn't help...

Pictures say more than words, so I attached a jpg showing the problem.
The node to the top is how it should look like. The node to the middle
is how it looks on Indigo. Interestingly, if I add another "entry" to
the middle compartment, the result looks like the node at the bottom -
the newly added element is now hidden, and the already existing one
shows up.

Any idea what's going on here?

Thanks a lot in advance,
Chris
  • Attachment: Problem.jpg
    (Size: 44.30KB, Downloaded 136 times)
Re: Problem with Indigo release [message #694673 is a reply to message #693745] Sat, 09 July 2011 06:54 Go to previous messageGo to next message
chris is currently offline chrisFriend
Messages: 72
Registered: July 2009
Member
Hi again,

nobody?

If this is the case, can anybody maybe give me some advice on a)
possible causes for this and b) how to debug this?

Thanks in advance once again,
Chris


Am 07.07.2011 08:42, schrieb Chris:
> Hi,
>
> running against Ganymede, my GMF editors run just fine. However, after
> upgrading to Indigo (I skipped Helios), I'm running into some problems,
> and regenerating doesn't help...
>
> Pictures say more than words, so I attached a jpg showing the problem.
> The node to the top is how it should look like. The node to the middle
> is how it looks on Indigo. Interestingly, if I add another "entry" to
> the middle compartment, the result looks like the node at the bottom -
> the newly added element is now hidden, and the already existing one
> shows up.
>
> Any idea what's going on here?
>
> Thanks a lot in advance,
> Chris


--
Isaac Asimov: "The most exciting phrase to hear in science, the one that
heralds new discoveries, is not 'Eureka!' but 'That's funny...'"
Re: Problem with Indigo release [message #695339 is a reply to message #694673] Mon, 11 July 2011 14:05 Go to previous message
chris is currently offline chrisFriend
Messages: 72
Registered: July 2009
Member
Ok, I've made some progress on my own. The horizontal scrollbar causes
the error. In my custom XXXCompartmentEditParts, I just override method
getFigure() like this to disable the scrollbar (which I don't need anyways):

@Override
public IFigure getFigure() {
ResizableCompartmentFigure result = (ResizableCompartmentFigure)
super.getFigure();
// workaround for a bug described here:
//
http://www.eclipse.org/forums/index.php/mv/tree/200734/640774/#msg_640774
result.getScrollPane().setHorizontalScrollBarVisibility(ScrollPane.NEVER);
return result;
}

More information can be found here:

http://www.eclipse.org/forums/index.php/mv/tree/200734/640774/#msg_640774

Hope that this helps somebody...



Am 09.07.2011 08:54, schrieb Chris:
> Hi again,
>
> nobody?
>
> If this is the case, can anybody maybe give me some advice on a)
> possible causes for this and b) how to debug this?
>
> Thanks in advance once again,
> Chris
>
>
> Am 07.07.2011 08:42, schrieb Chris:
>> Hi,
>>
>> running against Ganymede, my GMF editors run just fine. However, after
>> upgrading to Indigo (I skipped Helios), I'm running into some problems,
>> and regenerating doesn't help...
>>
>> Pictures say more than words, so I attached a jpg showing the problem.
>> The node to the top is how it should look like. The node to the middle
>> is how it looks on Indigo. Interestingly, if I add another "entry" to
>> the middle compartment, the result looks like the node at the bottom -
>> the newly added element is now hidden, and the already existing one
>> shows up.
>>
>> Any idea what's going on here?
>>
>> Thanks a lot in advance,
>> Chris
>
>


--
Wernher von Braun: "Basic research is what I am doing when I don't know
what I am doing."
Previous Topic:Need Help for Ocl Constraint
Next Topic:mindmap XSD commented
Goto Forum:
  


Current Time: Tue Apr 13 08:02:07 GMT 2021

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

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

Back to the top