protected void readSettings ( ) { boolean createConstructors = false ; boolean createUnimplemented = true ; boolean createEventHandlers = true ; boolean createLifecycleFunctions = true ; final IDialogSettings dialogSettings = getDialogSettings ( ) ; if ( dialogSettings != null ) { final IDialogSettings section = dialogSettings . getSection ( getName ( ) ) ; if ( section != null ) { createConstructors = section . getBoolean ( SETTINGS_CREATECONSTR ) ; createUnimplemented = section . getBoolean ( SETTINGS_CREATEUNIMPLEMENTED ) ; createEventHandlers = section . getBoolean ( SETTINGS_GENERATEEVENTHANDLERS ) ; createLifecycleFunctions = section . getBoolean ( SETTINGS_GENERATELIFECYCLEFUNCTIONS ) ; } } setMethodStubSelection ( createConstructors , createUnimplemented , createEventHandlers , createLifecycleFunctions , true ) ; }
Read the settings of the dialog box .