Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » PropertyContributor extension - ActionProvider
PropertyContributor extension - ActionProvider [message #81338] Tue, 28 November 2006 08:10
Eclipse UserFriend
Hi,

I have an actionProvider specified in the plugin.xml file for my editor:

<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor ">
<propertyContributor
actionProvider="sheba.presentation.properties.ShebaPropertySheetPage "
contributorId="sheba.presentation.editor.propertyTabs"
<propertyCategory
category="default">
</propertyCategory>
</propertyContributor>
</extension>

The code implements IActionProvider:

public class ShebaPropertySheetPage extends TabbedPropertySheetPage
implements IActionProvider {

....

public void setActionBars(ITabbedPropertySheetPageContributor
contributor, IActionBars actionBars) {
...
}
}

However, the setActionBars method is not called when the property sheet
is activated, displayed, or selected (i.e. never).

Is there something I am missing here? -- everything else seemed
reasonably straight-forward.

If you can help, well, that would be great.

Cheers,

Simon
Previous Topic:Problem opening gmf wizard
Next Topic:Can I use SnapTo during creation
Goto Forum:
  


Current Time: Sun Jul 13 23:10:24 EDT 2025

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

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

Back to the top