Bug 3423

Summary: Need IConstants (1GKM51O)
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M5   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Martin Aeschlimann CLA 2001-10-10 22:54:52 EDT
MA (25.09.2001 16:28:01)
	I need the flag constants from IConstants.
	'Flags' just allows to test for flags, but if I have to return a set of flags I can't do this.


NOTES:

PM (9/26/2001 10:53:51 AM)
	Can you explain better what it is you want to do exactly ? Surfacing the constants would make the class Flags redundant.

MA (03.10.2001 11:27:41)
	The TypePage page (base class to create NewClass and newInterfaceWizards (and more)) has an API where you can
	get the flags configured by the user. I thought it would be best if I would invent new flags but take the constants from
	the compiler, so that Flags can be used to test.

	I would suggest to add the constants to Flags. Flags is still very helpful, 'Flags.isStatic' is much nicer/readable that \\
	'if (flags & Flags.ACC_STATIC != 0)'
Comment 1 DJ Houghton CLA 2001-10-29 17:13:10 EST
PRODUCT VERSION:
	201
	
Comment 2 Philipe Mulet CLA 2002-03-28 05:04:16 EST
Constants got added onto Flags.
Fixed.