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

Bug 340045

Summary: Add public API to set comment in CommitCommentArea
Product: [Eclipse Project] Platform Reporter: Lianne <LSit>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Lianne CLA 2011-03-15 11:53:17 EDT
Build Identifier: M20100909-0800

I'm trying to extend the CommitWizard by adding pages to gather information before the CommitWizardCommitPage. My problem is that I need to set the text in the TextBox in the CommitCommentArea of the CommitWizardCommitPage with information gathered from previous pages. However, there doesn't seem to be any public API to be able to do this directly.

1. Could a method be added to CommitWizardCommitPage to be able to set the text? ie setComment(String)
2. Otherwise, is there another way to set the text without having to subclass/re-write the CommitWizardCommitPage? I want to keep all the other functionality.

Also, could the setEnabled(boolean) method of CommitCommentArea be exposed through the CommitWizardCommitPage?

Reproducible: Always
Comment 1 Lars Vogel CLA 2019-11-08 04:40:07 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant please remove the stalebug whiteboard tag.