Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Filtering NewChild Extensions

Hi Camille,

Thank you very much for your fast and helpful answer! 

I'll have a look at it as soon as I can and I'll keep an eye on the bug report.

Cheers,
Martin

On Fri, May 27, 2016 at 11:29 AM, LETAVERNIER Camille <Camille.LETAVERNIER@xxxxxx> wrote:

Hi Martin,

 

 

The preference page is provided by org.eclipse.papyrus.infra.newchild.ui:

 

org.eclipse.papyrus.infra.newchild.ui.preferences.Preferences

 

The behavior is handled by the CreationMenuRegistry in org.eclipse.papyrus.infra.newchild:

 

org.eclipse.papyrus.infra.newchild.CreationMenuRegistry.setCreationMenuVisibility(Folder, Boolean)

 

Note that the preferences still need to change slightly, due to Bug 494728 [1]

 

[1] 494728: [NewChild - Preferences] Major flaws in the NewChild Preferences

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

 

 

HTH,
Camille

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Martin Fleck
Envoyé : vendredi 27 mai 2016 10:55
À : mdt-papyrus.dev@xxxxxxxxxxx
Objet : [mdt-papyrus.dev] Filtering NewChild Extensions

 

Hi,

 

As we are working on Papyrus for Information Modeling, we want to customize the New Child-Dialog context menu in the Model Explorer. 

We saw that there is an option to add new menu entries via the org.eclipse.papyrus.infra.newchild extension point.

 

In order to remove unwanted entries from this extension point (the standard 'New Child' and 'New Relationship' entry from UML), we currently go through the CreationMenuRegistry and set the visibility of those entries to false programatically.

However, we saw that there is a new preference that should achieve the same goal. 

Could you let us know which preference options we have to set in the product customization ini to filter the standard newchild-extensions?

 

Thank you and cheers,

Martin

 

--

Martin Fleck

Software Engineer

EclipseSource Services GmbH

 


_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev



--
Dr. Martin Fleck

Software Engineer
EclipseSource Services GmbH

Email: mfleck@xxxxxxxxxxxxxxxxx
Web: http://eclipsesource.com/vienna
Phone: +43 1 348 338 - 42
Phone: +49 89 21 555 30 - 23
Fax: +43 1 348 338 - 99
Fax: +49 89 21 555 30 - 19
Skype: martin.fleck.at

EclipseSource Services GmbH
Wiedner Hauptstraße 52
1040 Wien

General Manager: Dr. Philip Langer
Registered Office: Wiedner Hauptstraße 52, 1040 Wien; Handelsgericht Wien, FN 421413a

Back to the top