Method in WorkbenChadvisor

xiaoxiao2021-03-06  17

initialize - called first; before any windows; use to register things preStartup - called second; after initialize but before first window is opened; use to temporarily disable things during startup or restore postStartup - called third; after first window is opened; use to reenable things temporarily disabled in previous step postRestore - called after the workbench and its windows has been recreated from a previously saved state; use to adjust the restored workbench preWindowOpen - called as each window is being opened; use to configure aspects of the window other than actions bars fillActionBars - called after preWindowOpen to configure a window's action bars postWindowRestore - called after a window has been recreated from a previously saved state; use to adjust the restored window postWindowCreate - called after a window has been created, either from an initial state or from a restaurant; used to adjut; window OpenInTro - Called Immediely Before A Window Is Opened in Ord er to create the introduction component, if any postWindowOpen - called after a window has been opened;. use to hook window listeners, etc. preWindowShellClose - called when a window's shell is closed by the user; use to pre-screen window closings eventLoopException - called to handle the case where the event loop has crashed; use to inform the user that things are not well eventLoopIdle - called when there are currently no more events to be processed; use to perform other work or to yield until new events enter the queue Preshutdown - Called Just After Event Loop Has Terminated But Before Any Windows Have Been Closed; Use To Deregister Things Registered During Initialize Postshutdown - Called Last

After Event Loop Has Terminated and All Windows Have Been Closed; Use to Deregister Things Registered During Initialize My Translation, English Works, Take a look, huh, huh, huh.

Initialize - Call first before all forms can be used for registration entities. Prestartup - After Initialize but calls before the first open form, it can be used to temporarily disable the entity when starting or resturing. PostStartup - After the Prestartup but calls before the first open form, you can use to re-enable the upper-proof entity. PostRestore - Call after recovery from the previously saved state. Can be used to adjust the restored workbench. PreWindowopen - Call before the form is opened, and the appearance of the form is configured in addition to the toolbar (menu, tool bar, etc.). FillActionbars - Touch the toolbar for configuring the form at PrewInWopen. PostWindowRestore - When the form is saved from previously saved or recovered from an initial state, it is used to adjust the form. PostWindowCreate - Create a form from an initial state or from a recovery state, used to adjust the form. OpenInTro - Turn on the Form before calling, in order to create an introduction component. PostWindowopen - Call after the form is opened, which can be used to call the form listener or other. PrewindowshellClose - When the shell's shell is called by the user, it is called to close the screen form. EVENTLOOPEXCEPTION is used to operate an exception event when the event loop crashes, which is used to notify the user to have problems. EVENTLOOPIDLE - When there is no event that can be handled, it is used to perform other work or hang until the new time enters the queue. PRESHUTDOWN - The form is called before the event is terminated, and the entity used to be registered in initialization. PostShutdown - The final call is finally called after the event cycle is turned off, and the entity used to log out of the initialization.

转载请注明原文地址:https://www.9cbs.com/read-58550.html

New Post(0)