Bug 379759 - Enablement state of java type creation action doesn't update until cell editor is dismissed
Summary: Enablement state of java type creation action doesn't update until cell edito...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 16:47 EDT by Chris Stodden CLA
Modified: 2021-11-19 09:22 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Stodden CLA 2012-05-16 16:47:15 EDT
Build Identifier: M20120208-0800

-Enhancement when using actions within cell editor like create class.  

Example:
issue #1 - The create option in the table stays active even after creating
the class

issue #2 - The create option under Details stays active until the focus is
lost

Expected: The create option should be in-active once the class is defined. 

Reproducible: Always
Comment 1 Konstantin Komissarchik CLA 2012-05-17 14:03:53 EDT
In confused by the connection between title and the summary. Could you clarify?

> issue #1 - The create option in the table stays active even after creating
> the class

This is happening because table cell editors don't update the model until they are dismissed, unlike regular property editors that update the model continuously. I can see how this could be a problem for actions that change state depending on the model.

> issue #2 - The create option under Details stays active until the focus is
> lost

I am not seeing this issue. Tried with sapphire gallery sample... Value Properties -> Java Type Names
Comment 2 Chris Stodden CLA 2012-05-17 15:51:55 EDT
Sorry ignore issue 2:  that is related to model changes from a switching panel tied into the cell list entry.

The example related to issue 1 is the sapphire gallery>Actions>List Property Editor:  References with the toggle actions in the cell editor.