Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 180515

Summary: Typo in http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
Product: Community Reporter: Michael Giroux <michael.giroux>
Component: ArticlesAssignee: 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:

Description Michael Giroux CLA 2007-04-02 12:48:15 EDT
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:
Comment 1 Wayne Beaton CLA 2007-05-01 11:34:38 EDT
Fixed.