| Summary: | Typo in http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html | ||
|---|---|---|---|
| Product: | Community | Reporter: | Michael Giroux <michael.giroux> |
| Component: | Articles | Assignee: | community.articles-inbox <community.articles-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed. |
Build ID: 3.2.2 M20070212-1330 Steps To Reproduce: Incorrect method reference in text of "Updating the Sample View" section. The text indicates indicates that the plug-in must implement getContributor(), but this should be getContributorId(). The sample code included in the section is correct. Updating the Sample View A workbench part that provides a tabbed property view needs to implement the ITabbedPropertySheetPageContributor interface. This interface has the single method getContributor() that must be implemented, which returns the contributor identifier for your configuration. We will simply use the view identifier and implement the method as below: public String getContributorId() { return getSite().getId(); } More information: