I'm just wondering what is good practice when it comes to managing the contributing Class
of a Part
in Eclipse RCP development? I know that when a Part
get's focus in the application it calls the Class
that is linked to that Part
, and in that Class
you can use annotations such as @PostContruct
and @Focus
to indicate certain behaviours.
What I'm wondering is whether I should be destroying the Class
and re-loading it every time the user switches Parts
? Is it bad practice if I don't or is there no need to destroy a Class
and re-load it every time?