Bug 3423 - Need IConstants (1GKM51O)
Summary: Need IConstants (1GKM51O)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:54 EDT by Martin Aeschlimann CLA
Modified: 2002-03-28 05:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.