| Summary: | [Class Diagram] Some accelerators are disabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Yann Tanguy <yann.tanguy> | ||||||
| Component: | Core | Assignee: | Thibault Landré <thibault.landre> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | Keywords: | plan | ||||||
| Version: | 0.7.0 | ||||||||
| Target Milestone: | M1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | UML 2.x Diagrams | ||||||||
| Attachments: |
|
||||||||
|
Description
Yann Tanguy
Created attachment 141617 [details]
GMF preference page for a diagram
It lacks preferences in diagram preferences,
Indeed in order to see popupBar see org.eclipse.gmf.runtime.diagram.ui.editpolicies.DiagramAssistantEditPolicy.isPreferenceOn(), It look for preferences to display it.
protected boolean isPreferenceOn() {
String prefName = getPreferenceName();
if (prefName == null) {
return true;
}
IPreferenceStore preferenceStore = (IPreferenceStore) ((IGraphicalEditPart) getHost())
.getDiagramPreferencesHint().getPreferenceStore();
return preferenceStore.getBoolean(prefName);
}
So to fix it we need also to generate specific preferences of GMF. (see screenshot of GMF preferences pages)
The generation of the diagram preference page is modified. It now uses generated pages from GMF and put them under the right hierarchy in the papyrus preference page. Rulers and Grid, as well as printing option are also available. Created attachment 143030 [details]
mylyn/context/zip
|