return join(provideDefaultDesktopNames(p.getDeviceContext()), new DesktopName(DefaultPresetViewerPanel.class, PathFactory.providePresetPath(p)));
}
public static ViewInstance provideDefaultView(final ReadablePreset p) {
final DesktopName[] names = provideDefaultDesktopNames(p);
final ViewPath vp = new ViewPath(ZDesktopManager.dockWORKSPACE, names);
return new ViewInstance() {
public JComponent getView() throws ComponentGenerationException {
try {
DeviceWorkspaceEnclosurePanel dep = new DeviceWorkspaceEnclosurePanel();
dep.init(p.getDeviceContext(), new DefaultPresetViewerPanel(p));