Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » setting general preferences -> polyline decoration disappears
setting general preferences -> polyline decoration disappears [message #171039] Fri, 01 February 2008 10:18 Go to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi,

I experience a side effect if I disable the connection hadles and popup
bars.

I disabled them by adding this method in the generated
XXXGeneralDiagramGeneralPreferencePage class that extends the
DiagramsPreferencePage class:
public static void initDefaults(IPreferenceStore store) {
store.setDefault(IPreferenceConstants.PREF_SHOW_CONNECTION_H ANDLES,
false);
store.setDefault(IPreferenceConstants.PREF_SHOW_POPUP_BARS, false);
}

Now all my polyline decorations arrowheads disappear. What do I have to do
that they're visible again?

I don't want to disable all the connection handles and popup bars in the
specific XXXEditParts.

Any ideas?

Thank you,

Marsha
Re: setting general preferences -> polyline decoration disappears [message #171144 is a reply to message #171039] Fri, 01 February 2008 13:57 Go to previous message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi,

What I found out up to now is that somehow the preferences set in the
XXXGeneralPreferencePage override those set in the XXXConnectioEditPart.
But I do not understand why this happens, because the Preferences for the
XXXNodeEditParts stay persistant...

Any idea?
Previous Topic:Rotate border figure
Next Topic:Only one of 3 affixed parent side nodes show up
Goto Forum:
  


Current Time: Thu Apr 18 12:00:58 GMT 2024

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

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

Back to the top