}
};
}
public static ViewInstance provideDefaultSampleContextView(final DeviceContext device) {
final DesktopName name = new DesktopName(SampleContextEnclosurePanel.class, PathFactory.provideSamplesPath(device));
final ViewPath vp = new ViewPath(ZDesktopManager.dockSAMPLES, name);
return new ViewInstance() {
public JComponent getView() throws ComponentGenerationException {
try {
SampleContextEnclosurePanel scep = new SampleContextEnclosurePanel();