Monday, February 25, 2013

How to create JDeveloper Code-Template?

How to create JDeveloper Code-Template?

Example,
    :for ADFLogger

1. Tools > Preferences
2. Code Editor > Code Templates
3. Add



4. provide details[shortCut, Context, Description]
5. provide imports[import oracle.adf.share.logging.ADFLogger;]




6. Code[private final ADFLogger LOGGER = ADFLogger.createADFLogger(this.getClass());]


7. OK

8. Open java code into editor
9. write logg [press ctrl + Enter]








10. Enter