Starting Help Top Next · Java Add-In Functions Top Previous Next Java Add-In provides the...

Preview:

Citation preview

StartingHelp TopNext

JavaAdd-InwillguaranteetomaximizetheproductivityandqualitybecauseithelpsatooltoadaptJavacodegenerationandreverseengineeringeasilyandquicklyafterittransformsUMLmodeltoJavasourceandJavasourcetoUMLmodel.

IndexofJavaAdd-InHelp

1. JavaAdd-InOverview

2. JavaProfile

3. EJBProfile

4. J2EEFramework

5. OptionConfigurations

6. JavaReverseEngineering

7. JavaCodeGeneration

8. FAQ

JavaAdd-InOverview TopPreviousNext

ThischapterdiscussesageneraloverviewofJavaAdd-In:functionsandconfigurationprocedures.

JavaAdd-InFunctions

JavaAdd-InConfigurations

JavaAdd-InFunctions TopPreviousNext

JavaAdd-Inprovidesthefollowingfunctions.

JavaProfile

JavaprofileisprovidedtoallowvisualmodelingofJavaconceptssuchaspackage,class,interface,imports,modifierandsooninStarUML(tm).IncludeJavaprofilewhenyoustartyourStarUML(tm)project,inordertoapplythefeaturesoftheJavalanguageinyoursoftwaremodeling.

EJBProfile

InadditiontoJavaprofile,JavaAdd-InprovidesEJBprofilefortheenterprisedevelopmentenvironment.

JavaFramework(J2EE)

JJavaAdd-InprovidesSunMicrosystems'J2EE(Java2EnterpriseEdition)intheModelFrameworkformat.

JavaReverseEngineering

JavaAdd-InprovidesthereverseengineeringfunctionthatgeneratesStarUML(tm)modelsbyanalyzingsourcecodeswritteninJava.

JavaCodeGeneration

JavaAdd-InprovidestheforwardengineeringfunctionthatgeneratesJavasourcecodesbyanalyzingStarUML(tm)models.

JavaAdd-InConfigurations TopPreviousNext

OnceJavaAdd-Inisinstalled,itisenabledforuseinStarUML(tm)bydefault.TheinstalledAdd-InscanbeenabledordisabledthroughAdd-InManagerinStarUML(tm).IfanAdd-Inisdisabled,nomainmenuandpopupmenuitemsrelatedtoitaredisplayed,andnoStarUML(tm)eventsarerelayedtoit.

ProcedureforEnablingJavaAdd-In:

1. Selectthe[Tools]->[Add-InManager...]menuinStarUML(tm).

2. AttheAdd-InManagerdialogbox,checkthe"JavaAdd-In"checkboxintheAdd-Inlist.

3. Clickthe[OK]buttontoclosethedialogbox.

ProcedureforDisablingJavaAdd-In:

1. Selectthe[Tools]->[Add-InManager...]menuinStarUML(tm).

2. AttheAdd-InManagerdialogbox,uncheckthe"JavaAdd-In"checkboxintheAdd-Inlist.

3. Clickthe[OK]buttontoclosethedialogbox.

JavaProfile TopPreviousNext

ThischapterdescribesJavaprofile:configurationproceduresanddefinitions.

IncludingJavaProfile

ExcludingJavaProfile

JavaProfileDefinitionList

IncludingJavaProfile TopPreviousNext

JavaprofilemustbeincludedintheprojectinordertoutilizetheStereotypes,TagDefinitions,andDataTypesdefinedinJavaprofile.

ProcedureforIncludingJavaProfile:

1. Selectthe[Model]->[Profiles...]menu.

2. AttheProfileManagerwindow,select"JavaProfile"fromthe"Availableprofiles"listontheleft.

3. Clickthe[Include]buttonorhitAlt-Itomove"JavaProfile"tothe"Includedprofiles"list.4. Clickthe[Close]buttontoclosetheProfileManagerwindow.5. Javaprofileisincludedinthecurrentproject.

Note

OpeningaprojectwithJavaprofileonanotherStarUML(tm)systemthat

doesnothaveJavaprofileinstalledmayresultinlossofmodelelementextensioninformation(Stereotype,TaggedValue,etc).

ExcludingJavaProfile TopPreviousNext

Javaprofilecanbeexcludedfromthecurrentproject.OnceC#profileisexcluded,Stereotypes,TagDefinitionsandDataTypesdefinedintheprofilecannotbeusedintheproject.

ProcedureforExcludingJavaProfile:

1. Selectthe[Model]->[Profiles...]menu.

2. AttheProfileManagerwindow,select"JavaProfile"fromthe"Includedprofiles"listontheright..

3. Clickthe[Exclude]buttonorhitAlt-Etoremove"JavaProfile"fromthe"Includedprofiles"list.4. Clickthe[Close]buttontoclosetheProfileManagerwindow.5. Javaprofileisexcludedfromthecurrentproject.

Note

Re-includingJavaprofileafterexcludingitdoesnotrestorethepreviouslyeditedtaggedvaluesofthemodelelements.

ProfileDefinitionList TopPreviousNext

Stereotype

Javaprofilecontainsdefinitionsforthefollowingstereotypes.

SterotypeTargetElement Description

<<JavaSourceFile>> Component SourcefilewithJavacode<<JavaClassFile>> Component FilewithcompiledJavasourcecode

<<JavaAchiveFile>> Component

JARfilecontainstheclassforJavaapplet,imagefilesandsoundfilesasonecompressedfiletoallowquickdownloadingforwebbrowsers.

TagDefinition

Javaprofilecontainsdefinitionsforthefollowingtagdefinitions.

TagDefinition Type TargetElement Description

JavaStrictfp BooleanClass,Interface,Operation

ExecutesallrealnumbercalculationsbystrictlyconformingtotheIEEE754standard.

JavaStatic BooleanClass

UsedforloadingandunloadingthetargetclasstoandfromthebasememorywhenrunningJavaVM.

JavaVolatile BooleanAttribute,AssociationEnd

Variableswiththiskeywordarenotprocessedforvariableoptimizationbythecompiler.

JavaTransient BooleanAttribute,AssociationEnd

The'transient'flagallowstheinterpretertoprocessclassinstancesaspersistentobjects.

JavaCollection String Attribute,AssociationEnd

DefinestheJavaCollectiontypename.

JavaDimensions IntegerAttribute,Parameter, Indicatesthearraydimensionof

AssociationEnd thedeclaredobject.

JavaNative BooleanOperation MethodthatsupportsJNI(JavaNativeInterface).

JavaThrows String OperationUsedforrelayingexceptionsofthemethodabovetoothermethods.

JavaFinal Boolean Parameter Indicatesconstanttypearguments.

DataTypes

JavaprofilecontainsdefinitionsforthefollowingbasicJavadatatypes.int

float

boolean

char

double

short

long

byte

void

Boolean

Byte

Character

Double

Float

Integer

Long

Object

Short

String

Void

EJBProfile TopPreviousNext

ThischapterdescribesEJB(EnterpriseJavaBeans)profile:configurationproceduresanddefinitions.

IncludingEJBProfile

ExcludingEJBProfile

EJBProfileDefinitionList

IncludingEJBProfile TopPreviousNext

EJBprofilemustbeincludedintheprojectinordertoutilizetheStereotypes,TagDefinitions,andDataTypesdefinedinEJBprofile.

ProcedureforIncludingEJBProfile:

1. Selectthe[Model]->[Profiles...]menu.

2. AttheProfileManagerwindow,select"EJBProfile"fromthe"Availableprofiles"listontheleft.

3. Clickthe[Include]buttonorhitAlt-Itomove"EJBProfile"tothe"Includedprofiles"list.4. Clickthe[Close]buttontoclosetheProfileManagerwindow.5. EJBprofileisincludedinthecurrentproject.

Note

OpeningaprojectwithEJBprofileonanotherStarUML(tm)systemthat

doesnothaveEJBprofileinstalledmayresultinlossofmodelelementextensioninformation(Stereotype,TaggedValue,etc).

ExcludingEJBProfile TopPreviousNext

EJBprofilecanbeexcludedfromthecurrentproject.OnceEJBprofileisexcluded,Stereotypes,TagDefinitionsandDataTypesdefinedintheprofilecannotbeusedintheproject.

ProcedureforExcludingEJBProfile:

1. Selectthe[Model]->[Profiles...]menu.

2. AttheProfileManagerwindow,select"EJBProfile"fromthe"Includedprofiles"listontheright.

3. Clickthe[Exclude]buttonorhitAlt-Etoremove"EJBProfile"fromthe"Includedprofiles"list.4. Clickthe[Close]buttontoclosetheProfileManagerwindow..5. EJBprofileisexcludedfromthecurrentproject.

Note

Re-includingEJBprofileafterexcludingitdoesnotrestorethepreviously

editedtaggedvaluesofthemodelelements.

EJBProfileDefinitionList TopPreviousNextStereotype

EJBprofilecontainsdefinitionsforthefollowingstereotypes.

SterotypeTargetElement Description

<<EJBCreateMethod>> Operation ThespecifiedoperationindicatesEJBCreateMethod.

<<EJBFinderMethod>> Operation ThespecifiedoperationindicatesEJBFinderMethod.

<<EJBRemoteMethod>> Operation ThespecifiedoperationindicatesEJBRemoteMethod.

<<EJBRemoteInterface>> Class,Interface

ThespecifiedclassindicatesEJBRemoteInterface.

<<EJBHomeInterface>> Class,Interface

Anabstractstereotype.ThespecifiedclassindicatesEJBHomeInterface.

<<EJBSessionHomeInterface>> Class,Interface

AnimplementationoftheabstractstereotypeHomeInterface.ThespecifiedclassindicatesEJBSessionHome.

<<EJBEntityHomeInterface>> Class,Interface

AnimplementationoftheabstractstereotypeHomeInterface.ThespecifiedclassindicatesEJBEntityHome.

<<EJBPrimaryKey>> DependencyIndicatesuseofEJBPrimaryKeyClassforEJBEntityHome.

<<EJBCmpField>> Attribute

Thespecifiedattributeindicatesthecontainer-managedfieldfortheCMP-basedEJBEntityBean.

<<EJBPrimaryKeyField>> Attribute

AnimplementationofthestereotypeEJBCmpField.Thespecifiedattributeindicatesthe

primarykeyfieldfortheCMP-basedEJBEntityBean.

<<EJBRealizeHome>> DependencyIndicatesabstractionofEJBHomeInterfaceforEJBImplementationClass.

<<EJBRealizeRemote>> DependencyIndicatesabstractionofEJBRemoteInterfaceforEJBImplementationClass.

<<EJBImplementation>> Class ThespecifiedClassindicatesEJBImplementationClass.

<<EJBEnterpriseBean>> SubsystemAnabstractstereotype.ThespecifiedsubsystemindicatesEJBEnterpriseBean.

<<EJBSessionBean>> Subsystem

AnimplementationoftheabstractstereotypeEJBEnterpriseBean.ThespecifiedsubsystemindicatesEJBSessionBean.

<<EJBEntityBean>> Subsystem

AnimplementationoftheabstractstereotypeEJBEnterpriseBean.ThespecifiedsubsystemindicatesEJBEntityBean.

<<EJBReference>> Association

AssociationwiththespecifieddirectionindicatesthereferencedEJBEnterpriseBean.

<<EJBAccess>> Association

ThespecifiedassociationindicatesthesecurityregulationrelationbetweenthesubsystemsindicatedbytheactorandthestereotypeEJBEnterpriseBean.

<<EJB-JAR>> Package ThespecifiedpackageindicatesEJB-JAR.

<<EJBDescriptor>> ComponentThespecifiedcomponentindicatesEJBDeployment

Descriptor.

<<EJBClientJAR>> Dependency Indicateswhetherejb-client-jarisusingEJB-JAR.

TagDefinition

EJBprofilecontainsdefinitionsforthefollowingtagdefinitions.

TagDefinition Type TargetElement DescriptionEJBSessionType Enumeration Class

EJBRoleNames String Operation

Acomma-separatedstring.Definesthesecurityregulationforthespecifiedoperation.

EJBTrasAttribute Enumeration Operation

DefinesthetransactionmanagementpolicyasNotSupported,Supports,Required,RequiresNew,MandatoryorNever.

EJBEnvEntries String SubSystem

DefinesenvironmentlistingssimilartoattributestobereadwhenEJBEnterpriseBeanisrunning.Eachlistiscomma-separatedandasinglelistisintheformatof<name,type,value>.

EJBNameInJAR String SubSystem

ThenameofEJBEnterpriseBean.Generally,theEJBRemoteInterfacenameisused.

EJBReferences String SubSystem

UsedfordefiningreferencetootherEnterpriseBeans.Eachlistiscomma-separated

andasinglelistisintheformatof<name,type,home,remote>.

EJBResources String SubSystem

UsedfordefiningtheexternalresourcesforEJBEnterpriseBean.Eachlistiscomma-separatedandasinglelistisintheformatof<name,type,auth>.

EJBSecurityRoles String SubSystem

DefinessecurityregulationsforallEJBEnterpriseBeanoperations.Eachlistiscomma-separatedandasinglelistisintheformatof<name,link>.

EJBTransType Enumeration SubSystem

IndicateswhetherEJBSessionBeantransactionsaremanagedbyEJBSessionBeanorcontainer.ThevalueiseitherBeanorContainer.

EJBPersistenceTypeEnumeration SubSystem

IndicateswhetherEJBEntityBeanpersistenceismanagedbyEJBEntityBeanorcontainer.ThevalueiseitherBeanorContainer.

EJBReentrant Boolean SubSystem IndicateswhetherEJBEntityBeancanreenter.

J2EEFramework TopPreviousNext

TheJ2EE(Java2Platform,EnterpriseEdition)FrameworkistheJ2EEdevelopmentplatformmodelincludedinJava2Platform,EnterpriseEdition.InStarUML(tm),aModelFrameworkreferstoasoftwaremodelthatexpressesclasslibrariesorapplicationframeworkssuchasMFC,VCL,andJFC.Usingaframeworkwiththeprojectgreatlyincreasestheconvenienceoftheuserformodelingsoftwarethatdependsonacertainclasslibraryorapplicationframework.

UsingtheJ2EEFramework

UsingtheJ2EEFramework TopPreviousNext

ProcedureforImportingtheJ2EEFramework:

1. Selectthe[File]->[Import]->[Framework...]menu.

2. Atthe[ImportFramework]dialog,selecttheJ2EEFrameworkfromthelistandclickthe[OK]button.

3.

TheSelectElementdialogboxwillappear,todetermineunderwhichelementtheJ2EEframeworkwillbelocated.Selectanelement(package,model,subsystemorproject)tocontaintheframeworkandthenclickthe[OK]button.

4. Theframeworkisincludedundertheselectedelement.

Note

Importingaframeworkdoesnotstoretheframeworkelementsintheproject.Sinceframeworkunitsarereferencedbytheproject,theframeworkunitfilesmustbepresentwhenopeningtheproject.Todeleteimportedframeworks,removetherespectiveframeworkunits.

OptionConfigurations TopPreviousNext

ThischapterdiscussesproceduresforconfiguringtheJavaAdd-Inenvironmentanddescribestheoptionitemsindetail.

CodeGenerationOptionConfiguration

ReverseEngineeringOptionConfiguration

CodeGenerationOptionConfiguration TopPreviousNext

CodeGenerationOption([Tools]->[Options])isthegroupofoptionitemsforcodegenerationbyJavaAdd-In.Thiscategoryincludesthe[General],[CodeGeneration],[CodeStyle],and[FileHeader]sub-categories.

General

OptionItemDefault DescriptionGeneratecodesevenwhenthereisnoprofile

False SpecifieswhethertogeneratecodesevenwhenJavaprofileisnotloadedintheproject(notrecommended).

CodeGeneration

OptionItem Default DescriptionGenerate1fileeachforClass,Struct,Interface,and

True Specifieswhethertogenerate1fileeachfor1member(Class,Struct,Interface,andEnum).

Enum

GenerateunnamedAssociationEnd

False

GeneratesunnamedAssociationEndasareferencetypefieldforJavamember.Inthiscase,thefieldidentifierisindicatedas"UnspecifiedType"withanumberattheend.

GenerateJavaDoc False Specifieswhethertogeneratemodelingelement

documentationasJavaDoc.GenerateemptyJavaDoc

FalseIfchecked,JavaDocisgeneratedevenwhenthemodelingelementdocumentationdoesnothaveanyvalues(empty).

CodeStyle

OptionItemDefault DescriptionInserttabsasspaces False Usesspaceinsteadoftabforindentation.

Tabwidth 4 Specifiesthenumberofspacestobeusedwheninsertingtabsasspaces.

Placetheopeningcurlybraceinthenewline

False Placestheopeningcurlybrace"{"inthenewline.

FileHeader

OptionItem Default Description

Addsthecommentsinthebeginningofthe

sourcefile.

(Default)

//

//

FileHeaderComments

Seedescription

//GeneratedbyStarUML(tm)JavaAdd-In

//

//@@Project:@p

//@@FileName:@f

//@@Date:@d

//@@Author:@a

//

//

ReverseEngineeringOptionConfiguration

TopPreviousNext

ReverseEngineeringOptionConfiguration([Tools]->[Options...])isthegroupofreverseengineeringoptionitemsforJavaAdd-In.Thiscategoryincludesthe[ModelGeneration],[Diagram]and[View]sub-categories.

ModelGeneration

OptionItem Default DescriptionGeneratepublicmember

True Specifieswhethertogenerateclassandinterfacememberswithpublicvisibility.

Generatepackagemember

True Specifieswhethertogenerateclassandinterfacememberswithpackagevisibility.

Generateprotectedmember

True Specifieswhethertogenerateclassandinterfacememberswithprotectedvisibility.

Generate Specifieswhethertogenerateclassandinterface

privatemember

True memberswithprivatevisibility.

Omitinitialvalueforfields

False Doesnotincludethefieldinitialvalueintheattributemodelinformation.

GenerateJavadocasdocumentation

False

ReadsJavaDocinthesourcecodeandregistersitasdocumentationinformation.JavaDocofeachmethodisanalyzedfortaginformationandenteredasdocumentationinformationforeachparameteroftheoperationmodel.

Generatefieldsasassociations

False

Analyzesthefieldinformationinthesourcecodetoestablishassociationrelationshipswiththerespectivefieldtypemodels.Ifunchecked,fieldinformationisgeneratedasattributesfortherespectiveclassmodel..

Diagram

OptionItem Default DescriptionGenerateOverviewdiagram

TrueSpecifieswhethertogeneratetheOverviewdiagramforthegeneratedmodel.Ifunchecked,thefollowingdiagramandviewoptionsareignored.

Fitthediagramareatothegeneratedviewarea

False EnlargestheOverviewdiagramtofitthegeneratedviewarea.

Diagramname

Overviewof%s

SpecifiestheOverviewdiagramname.Thepackagenamecanbeincludedinthediagramnamebyusing%s(e.g.Overviewof%s).

View

OptionItem Default DescriptionSuppresstheAttributeareaofClass

False SuppressestheAttributecompartmentoftheClassViewwhengeneratingtheOverviewdiagram.

SuppresstheSuppressestheOperationcompartmentoftheClass

OperationareaofClass

False ViewwhengeneratingtheOverviewdiagram.

Hideoperationsignature

False HidestheoperationsignaturewhengeneratingtheOverviewdiagram.

GenerateGeneralizationandRealizationviewsonlyforrelations

False

GeneratesgeneralizationandrealizationviewsonlyforrelationswhengeneratingtheOverviewdiagram.Whenusedappropriatelywithotherviewoptions,thisoptionisveryusefulfordrawingtheinheritancerelationsofoverallclassesandinterfaceswithinthepackage.

JavaReverseEngineering TopPreviousNext

JavareverseengineeringanalyzesJavasourcefilesandconvertsthemintoUMLmodels.Itisusefulforsourceinspection,systemstructureanalysis,andre-designing.

JavaReverseEngineering

ReverseEngineeringOptionConfiguration

JavaReverseEngineering TopPreviousNext

ProcedureforReverseEngineering:

1. InStarUML(tm),selectthe[Tools]->[C#]->[ReverseEngineer...]menu.

2.Atthe[SelectSourceCode]pageinthe[JavaReverseEngineering]dialogbox,selectasourceandclick[Add].Click[Next]onceyouhavecompletedaddingthetargetsourcesforreverseengineering.

3. Atthe[SelectthePackagetoContainResult]page,selectapackagetocontaintheoutputresultsfromthepackagetreeandclick[Next].

4. Atthe[OptionSetup]page,selectthereverseengineeringoptionsandclick[Run].Reverseengineeringwillstartnow.

5. The[ReverseEngineering]pagewillshowthereverseengineeringprogressstatusandreturnreverseengineeringfailureorsuccessresults.

Note

IfJavareverseengineeringisexecutedwithoutincludingJavaprofile,thefollowingdialogboxwillappearaskingwhetheryouwanttoincludeJavaprofile.Select"Yes(Y)"tocontinuethereverseengineeringprocess.

ReverseEngineeringOptionConfiguration

TopPreviousNext

ReverseEngineeringOptionSetupScreen

ThisisthescreenforconfiguringtheoptionsrequiredforJavareverseengineering.

ModelGeneration

ModelGenerationincludesvariousoptionsformodelgeneration.Item DescriptionGenerateJavadoctomodeldocumentation

SpecifieswhethertogenerateJavaDocumentasStarUML(tm)modeldocumentation.

Omittheinitialvalueoffield

SpecifieswhethertoomittheinitialvaluesforJavafields.

public Specifieswhethertogenerateelementswithpublicaccessmodifiers.

package Specifieswhethertogenerateelementswithpackageaccessmodifiers.

protected Specifieswhethertogenerateelementswithprotectedaccessmodifiers.

private Specifieswhethertogenerateelementswithprivateaccessmodifiers.

Referencefieldcreation

ReferenceFieldGenerationspecifiesgenerationmethodsforreferencefieldswhengeneratingmodels.Item DescriptionCreatethefieldtotheAttribute

SpecifieswhethertogenerateJavafieldsasStarUML(tm)modelattributes.

CreatethefieldtoAssociations

SpecifieswhethertogenerateJavafieldsasStarUML(tm)modelassociations.

Diagram

Diagramspecifiesdiagramgenerationandthedefaultgenerationnames.Item DescriptionCreateOverviewdiagram

SpecifieswhethertogenerateOverviewdiagramwhengeneratingmodel.

Thenameofadiagram

SpecifiesnamesforOverviewdiagramgeneration.Thestring%sisautomaticallyreplacedbythepackagename.

View

Viewspecifiedview-relatedoptionsaftermodelgeneration.Item DescriptionSuppresstheattributecompartment

Suppressestheattributecompartmentofclassmodels.

Suppresstheoperationcompartment

Suppressestheoperationcompartmentofclassmodels.

Hideoperationsignatures

Specifieswhethertodisplayallsignaturesforoperationelements.

Generategeneralizationandrealizationviewsonly

Specifieswhethertogenerategeneralizationandrealizationviewsonlyforthemodelsgenerated.

JavaCodeGeneration TopPreviousNext

JavaforwardengineeringgeneratesJavasourcefilesfromStarUML(tm)models.

JavaCodeGeneration

CodeGenerationOptionConfigurations

JavaCodeGeneration TopPreviousNext

ProcedureforCodeGeneration:

1. InStarUML(tm),selectthe[Tools]->[Java]->[GenerateCode...]menu.

2. Atthe[SelectStartingPackageLocation]pageinthe[JavaCodeGeneration]dialogbox,selectapackageandclick[Next].

3. Atthe[Selectthecodegenerationelement(s)]page,selecttheelementsandclick[Next].

4. Atthe[OutputDirectorySetup]page,selectadirectorytosavetheoutputsourcesandclick[Next].

5. Atthe[OptionSetup]page,selectoptionsandclick[Next].Reverseengineeringwillstartnow.

6. The[CodeGeneration]pagewillshowthecodegenerationprogressstatusandreturncodegenerationfailureorsuccessresults.

Note

ThefollowingerrorwilloccurifJavacodegenerationisexecutedwithoutincludingJavaprofile.PleaseensurethatJavaprofileisincludedintheprojectbeforeexecutingcodegeneration.

CodeGenerationOptionConfigurations

TopPreviousNext

CodeGenerationOptionSetupScreen

Thisisthescreenforconfiguringtheoptionsrequiredforcodegeneration.

GenerationOptions

Generationoptionsaremodel-relatedoptionsforcodegeneration.Item DescriptionGenerateunnamedAssociationEnd

SpecifieswhethertogenerateAssociationEndattheendofanunnamedAssociation.

GeneratetheDocumentationbyJavaDoc

SpecifieswhethertogenerateStarUML(tm)modeldocumentationasJavaDoc.

Generateempty SpecifieswhethertogenerateemptyStarUML(tm)

JavaDoc documentation.

CodeStyleOptions

Editingoptionsaretext-relatedoptionsforcodegeneration.Item DescriptionPlaceopeningcurlybrace"{"inthenewline

Specifiesthelocationoftheopeningcurlybrace"{"forcodegeneration.

Inserttabasspace Specifieswhethertoinsertspacestringsinsteadoftabs.

Tabwidth Specifiesthenumberofspacesforatab.

FileHeaderComments

FileHeaderCommentsdefinesthecommentsforeachfilehead.Item Description

Fileheadercomments

Containsthecommentstobeinsertedinthebeginningofthesourcefile.Asdescribedinthe"headercommentsdescription"section,the'@'symbolandalphanumericcharacterscanbeusedtoinsertspecificvalueshere.

FAQ TopPrevious

ThefollowingarefrequentlyaskedquestionsandanswersforusingJavaAdd-In.

1. WhataretheJavaLanguageversionssupportedbyJavaAdd-In?

2. Igeta"JavaProfileisnotloaded"warningwindowwhengeneratingcode.Whatdoesthismean?

1. JavaWhataretheJavaLanguageversionssupportedbyJavaAdd-In?JavaAdd-InsupportsJavaLanguageSpecificationversion1.3,whichisthemostwidelyusedversion.

2. Igeta"JavaProfileisnotloaded"warningwindowwhengeneratingcode.Whatdoesthismean?JavaProfilemustbeincludedinordertousetheJavacodegenerationfunction.IncludingJavaProfile

Recommended