Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » ScrollBars in the CompartmentShapeEditPart
ScrollBars in the CompartmentShapeEditPart [message #11839] Wed, 09 August 2006 08:32 Go to next message
Eclipse UserFriend
The CompartmentShapeEditpart essentially creates a scroll pane, and this
assists the layouting of the children shapes. The problem I'm continue to
face is, the display of the arrow buttons of the scroll bars in the
Compartment figure. Apparently, I see this working in the Circuit Figure,
I tried hard looking for the workaround to enable the display of the arrow
buttons but have been unsuccessful so far.

Kindly assist!!
Re: ScrollBars in the CompartmentShapeEditPart [message #12984 is a reply to message #11839] Wed, 09 August 2006 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Hello!

In DropShadowButtonBorder instead of

protected Insets insets = new Insets(26,26,80,80);

write

protected Insets insets = new Insets(1);


Ravikanth wrote:
> The CompartmentShapeEditpart essentially creates a scroll pane, and this
> assists the layouting of the children shapes. The problem I'm continue
> to face is, the display of the arrow buttons of the scroll bars in the
> Compartment figure. Apparently, I see this working in the Circuit
> Figure, I tried hard looking for the workaround to enable the display of
> the arrow buttons but have been unsuccessful so far.
> Kindly assist!!
>
Re: ScrollBars in the CompartmentShapeEditPart [message #19592 is a reply to message #11839] Tue, 15 August 2006 12:14 Go to previous message
Eclipse UserFriend
Hello ravikanth,

Try to set "Units" property in your genmodel to "Himetric" as it is described
in http://wiki.eclipse.org/index.php/GMF_GenModel_Hints#Diagram _group.
This problem was described in a following request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=140789.

-----------------
Alex Shatalin
Previous Topic:MultiPageEditor -- Single or multiple DocumentProvider(s)?
Next Topic:ShortCuts for Edges?
Goto Forum:
  


Current Time: Sat May 10 03:43:22 EDT 2025

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

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

Back to the top