1460956039-ced628f7-1af0-493b-a3de-a620a4010fd7

1. A method for updating a display state of a user interface, the method comprising:
inspecting a file containing definitions for one or more macro components, wherein said file comprises a listing of one or more events associated with each of said one or more macro components;
creating an event callback function for each of said one or more macro components listed in said file to update said display state of said user interface to be a display state of a macro component in response to having one of its associated one or more events published;
detecting an event published by said publisher; and
executing, by a processor, said event callback function associated with said macro component in response to said detected event corresponding to said one of its associated one or more events.
2. The method as recited in claim 1, wherein said file comprises information regarding whether said one or more macro components are to be lazily-loaded and which events said one or more macro components are to be a primary receiver.
3. The method as recited in claim 2 further comprising:
identifying a macro component in said file to be lazily-loaded; and
storing an indication of said identified macro component to be lazily-loaded along with one or more events said identified macro component is to be a primary receiver in a data structure.
4. The method as recited in claim 3 further comprising:
subscribing to receive said one or more events said identified macro component is to be a primary receiver.
5. The method as recited in claim 4 further comprising:
detecting one of said one or more subscribed events published by said publisher.
6. The method as recited in claim 5 further comprising:
executing said event callback function associated with said identified macro component in response to detecting said one of said one or more subscribed events.
7. The method as recited in claim 5 further comprising:
loading said identified macro component to be lazily-loaded in response to detecting said one of said one or more subscribed events.
8. The method as recited in claim 7 further comprising:
removing an entry from said data structure storing said indication of said identified macro component along with said detected subscribed event in response to detecting said one of said one or more subscribed events.
9. A computer program product embodied in a computer readable storage medium for updating a display state of a user interface, the computer program product comprising the programming instructions for:
inspecting a file containing definitions for one or more macro components, wherein said file comprises a listing of one or more events associated with each of said one or more macro components;
creating an event callback function for each of said one or more macro components listed in said file to update said display state of said user interface to be a display state of a macro component in response to having one of its associated one or more events published;
detecting an event published by said publisher; and
executing said event callback function associated with said macro component in response to said detected event corresponding to said one of its associated one or more events.
10. The computer program product as recited in claim 9, wherein said file comprises information regarding whether said one or more macro components are to be lazily-loaded and which events said one or more macro components are to be a primary receiver.
11. The computer program product as recited in claim 10 further comprising the programming instructions for:
identifying a macro component in said file to be lazily-loaded; and
storing an indication of said identified macro component to be lazily-loaded along with one or more events said identified macro component is to be a primary receiver in a data structure.
12. The computer program product as recited in claim 11 further comprising the programming instructions for:
subscribing to receive said one or more events said identified macro component is to be a primary receiver.
13. The computer program product as recited in claim 12 further comprising the programming instructions for:
detecting one of said one or more subscribed events published by said publisher.
14. The computer program product as recited in claim 13 further comprising the programming instructions for:
executing said event callback function associated with said identified macro component in response to detecting said one of said one or more subscribed events.
15. The computer program product as recited in claim 13 further comprising the programming instructions for:
loading said identified macro component to be lazily-loaded in response to detecting said one of said one or more subscribed events.
16. The computer program product as recited in claim 15 further comprising the programming instructions for:
removing an entry from said data structure storing said indication of said identified macro component along with said detected subscribed event in response to detecting said one of said one or more subscribed events.
17. A system, comprising:
a memory unit for storing a computer program for updating a display state of a user interface; and
a processor coupled to said memory unit, wherein said processor, responsive to said computer program, comprises
circuitry for inspecting a file containing definitions for one or more macro components, wherein said file comprises a listing of one or more events associated with each of said one or more macro components;
circuitry for creating an event callback function for each of said one or more macro components listed in said file to update said display state of said user interface to be a display state of a macro component in response to having one of its associated one or more events published;
circuitry for detecting an event published by said publisher; and
circuitry for executing said event callback function associated with said macro component in response to said detected event corresponding to said one of its associated one or more events.
18. The system as recited in claim 17, wherein said file comprises information regarding whether said one or more macro components are to be lazily-loaded and which events said one or more macro components are to be a primary receiver.
19. The system as recited in claim 18, wherein said processor further comprises:
circuitry for identifying a macro component in said file to be lazily-loaded; and
circuitry for storing an indication of said identified macro component to be lazily-loaded along with one or more events said identified macro component is to be a primary receiver in a data structure.
20. The system as recited in claim 19, wherein said processor further comprises:
circuitry for subscribing to receive said one or more events said identified macro component is to be a primary receiver.
21. The system as recited in claim 20, wherein said processor further comprises:
circuitry for detecting one of said one or more subscribed events published by said publisher.
22. The system as recited in claim 21, wherein said processor further comprises:
circuitry for executing said event callback function associated with said identified macro component in response to detecting said one of said one or more subscribed events.
23. The system as recited in claim 21, wherein said processor further comprises:
circuitry for loading said identified macro component to be lazily-loaded in response to detecting said one of said one or more subscribed events.
24. The system as recited in claim 23, wherein said processor further comprises:
circuitry for removing an entry from said data structure storing said indication of said identified macro component along with said detected subscribed event in response to detecting said one of said one or more subscribed events.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A head gimbal assembly, comprising
a slider;
a micro-actuator comprising two thin film PZT pieces to define a notch;
a suspension to load the slider and the micro-actuator; wherein the suspension comprises:
a flexure having an actuator loading portion with a slot corresponding to the notch of the micro-actuator, and a slider-loading portion to partially hold the slider; and
a load beam having a first dimple to support the flexure at a position thereof corresponding to a central area of the slider, and a second dimple extending through both the slot of the flexure and the notch defined by the micro-actuator and toward a leading edge end portion of the slider to form a gap between the slider and the second dimple.
2. The head gimbal assembly as claimed in claim 1, wherein the gap between the slider and the second dimple has a distance ranging from 20 \u03bcm to 60 \u03bcm.
3. The head gimbal assembly as claimed in claim 1, wherein the second dimple has a soft top portion for absorbing shocking or vibration.
4. The head gimbal assembly as claimed in claim 1, wherein an actuator mounting datum hole is formed in the notch of the micro-actuator at a position corresponding to the second dimple; and a flexure mounting datum hole is formed in the slot of the flexure corresponding to the second dimple; the second dimple extends through the flexure mounting datum hole and the actuator mounting datum hole in sequence when assembling the micro-actuator, the flexure and the load beam together so as to ensure a high assembly precision.
5. The head gimbal assembly as claimed in claim 1, wherein the thin film PZT pieces are coupled to the flexure with anisotropic conductive film.
6. The head gimbal assembly as claimed in claim 1, wherein each of the thin film PZT pieces comprises an electric layer, an insulated layer, and a PZT layer sandwiched between the electric layer and the insulated layer; the micro-actuator is mounted on the flexure with the electric layer facing to the flexure.
7. A disk drive unit comprising:
a head gimbal assembly;
a drive arm to connect with the head gimbal assembly;
a disk; and
a spindle motor to spin the disk; wherein the head gimbal assembly comprises
a slider;
a micro-actuator comprising two thin film PZT pieces to define a notch;
a suspension to load the slider and the micro-actuator; wherein the suspension comprises:
a flexure having an actuator loading portion with a slot corresponding to the notch of the micro-actuator, and a slider-loading portion to partially hold the slider; and
a load beam having a first dimple to support the flexure at a position thereof corresponding to a central area of the slider, and a second dimple extending through both the slot of the flexure and the notch defined by the micro-actuator and toward a leading edge end portion of the slider to form a gap between the slider and the second dimple.
8. The disk drive unit as claimed in claim 7, wherein the gap between the slider and the second dimple has a distance ranging from 20 \u03bcm to 60 \u03bcm.
9. The disk drive unit as claimed in claim 7, wherein the second dimple has a soft top portion for absorbing shocking or vibration.
10. The disk drive unit as claimed in claim 7, wherein an actuator mounting datum hole is formed in the notch of the micro-actuator at a position corresponding to the second dimple; and a flexure mounting datum hole is formed in the slot of the flexure corresponding to the second dimple; the second dimple extends through the flexure mounting datum hole and the actuator mounting datum hole in sequence when assembling the micro-actuator, the flexure and the load beam together so as to ensure a high assembly precision.
11. The disk drive unit as claimed in claim 7, wherein the thin film PZT pieces are coupled to the flexure with anisotropic conductive film.
12. The disk drive unit as claimed in claim 7, wherein each of the thin film PZT pieces comprises an electric layer, an insulated layer, and a PZT layer sandwiched between the electric layer and the insulated layer; the micro-actuator is mounted on the flexure with the electric layer facing to the flexure.