Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332323 - [Browser] Model/Code synchronization doesn't work with Java classes without package
Summary: [Browser] Model/Code synchronization doesn't work with Java classes without p...
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M5   Edit
Assignee: Gabriel BARBIER CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 11:35 EST by Frédéric Madiot CLA
Modified: 2011-08-18 07:37 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Madiot CLA 2010-12-10 11:35:15 EST
If a class is in the default package, the synchronization between the ClassDeclaration in the browser and the corresponding source code doesn' work.

Example:

public class HelloWorld {
	public static void main (String[] args){
		System.out.println("Hello World");
	}

}
Comment 1 Gabriel BARBIER CLA 2011-01-13 11:35:39 EST
Note: code synchronization of java element has been provided by plug-in org.eclipse.modisco.java.composition.ui. So the MoDisco browser is not directly involved.
Comment 2 Gabriel BARBIER CLA 2011-01-14 08:49:52 EST
Tests and correction available in revision 3736.
A workaround has been made in tests about bug 334375 (reload and resolve the model of JavaApplication)
Comment 3 Hugo Bruneliere CLA 2011-08-18 07:37:27 EDT
Bug solved.