1
General Board / Re: java String, Integer, Double etc
« on: November 07, 2005, 02:17:52 pm »Quote
Sorry for such a simple question. I cannot find the answer in Help.
How do a get attribute types of String, Integer, Double etc, to show up when I create attributes for a class? (Obviously I can type in the word String, but I do not get the full capabilities of a real type.)
I looked at Import Binary (a jar) but this deos not seem the right way to add something so widely used?
Thanks.
Alex
Hi.
If yu want to assign data types to attributes, (I think) you have to set the language (C#, Java,...) for the class _before_ you can use data types.
But after you "assigned" a programming language to a specific class, you will be able to set the data type for each attribute via the "type" dropdown-menu (in the attribute form).
Julian
EDIT:
More easily:
Draw a class, double-click, select the language in the language dropdown menu.
then go on to detail - attributes. You will notice, that you can choose from more data types now
