Widget reuse

    Use the inherited control to realize the reuse of components, such as a functional component, need it elsewhere, it can be implemented by inheriting from control.

    Due to SWT save all of the variables to the variables in the context of global variables, in order to avoid pollution variables are variables that are reusable components, complex component usually uses its own newcontext variables.

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号