ProgrammaticViewCreationExampleAction.java | Class | Demonstrate how to open a part programmatically using the Site class.
This pattern can be used to instantiate views or editors without a workbench,
or to create parts that are neither views nor editors but can be used as
building blocks inside dialogs or other parts.
Clients should never call the constructor of a component class directly,
even if the component class is API -- otherwise, changing the class dependencies
would be a breaking change. |