Bug 49463 - Source to GUI changes should be allowed even when parse errors exist
Summary: Source to GUI changes should be allowed even when parse errors exist
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 10:41 EST by Srimanth CLA
Modified: 2011-06-13 11:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Srimanth CLA 2004-01-02 10:41:45 EST
The possibility of source to GUI update even when the java file has
syntax/parser errors, should be looked at. In case this is not possible, some
kind of feedback might be shown that GUI cannot be updated due to parser
problems in ths source.
Comment 1 Gili Mendel CLA 2004-01-02 12:32:45 EST
Status/Icon ??
Comment 2 Richard Kulp CLA 2004-04-28 16:35:23 EDT
Changes from GUI to source when a parse locks and prevents updating source
cannot be allowed. bug 56417 handles this. So I'm closing this as a dup of that one.

*** This bug has been marked as a duplicate of 56417 ***
Comment 3 Srimanth CLA 2004-04-28 18:41:03 EDT
This is a valid seperate problem than 56417, as this deals with source to UI
updates when parse errors are present in code.

At present when there are parse errors in the source code, no source to GUI
updates are made by the snippet update process - only codegen's model is updated
to reflect the new positions of the methods. Also GUI to source changes are not
allowed when there are parse errors as codegen has no clue where to accurately
and reliably put the changes in the source. 

In the future, there should be capability to understand changes made to the code
even when there are parse errors in the code. If you have parse errors in your
code and you changed jButton.setText("Foo") to jButton.setText("Bar"), then the
text of the jButton should be updated in the UI. This kind of support could be
given only to statements which codegen knows about, and not to new expressions
which are added.