Skip to content
Snippets Groups Projects
Commit d2dd98d7 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

added simple resource perspective

refs 438
parent ae405dbf
No related branches found
No related tags found
No related merge requests found
org.fortiss.tooling.kernel.ui/trunk/icons/folder_storage.gif

355 B

......@@ -121,5 +121,14 @@
contributor="org.fortiss.tooling.kernel.ui.internal.views.NavigatorNewMenu">
</contextMenuContribution>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.fortiss.tooling.kernel.ui.internal.perspective.StoragePerspective"
icon="icons/folder_storage.gif"
id="org.fortiss.tooling.kernel.ui.storage.perspective"
name="Storage">
</perspective>
</extension>
</plugin>
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2011 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.tooling.kernel.ui.internal.perspective;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
/**
* Perspective for the component simulator.
*
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: CCA87EF8953100DC0556166DA9756533
*/
public class StoragePerspective implements IPerspectiveFactory {
/** The ID of this perspective. */
public static final String ID = StoragePerspective.class.getName();
/** {@inheritDoc} */
@Override
public void createInitialLayout(IPageLayout layout) {
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
0.2f, layout.getEditorArea());
left.addView("org.eclipse.ui.views.ResourceNavigator");
IFolderLayout bottom = layout.createFolder("bottom",
IPageLayout.BOTTOM, 0.75f, layout.getEditorArea());
bottom.addView("org.eclipse.ui.views.ProgressView");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment