Skip to content

Commit

Permalink
Fixes #616 - Model explorer missing in the Vorto perspective of 0.10.…
Browse files Browse the repository at this point in the history
…0M1 Snapshot version (#618)

Signed-off-by: Erle Czar Mantos <[email protected]>
  • Loading branch information
Erle Czar Mantos authored and aedelmann committed Jun 20, 2017
1 parent 71cd822 commit 7da8cb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.vorto.perspective.vorto/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
category="org.eclipse.vorto.perspective"
class="org.eclipse.vorto.perspective.vorto.view.VortoProjectSelectionViewPart"
icon="platform:/plugin/org.eclipse.vorto.perspective/icons/vorto-icon.png"
id="org.eclipse.vorto.perspective.view.ProjectSelectionViewPart"
id="org.eclipse.vorto.perspective.view.VortoProjectSelectionViewPart"
name="Vorto Model Project Browser">
</view>
<view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
package org.eclipse.vorto.perspective;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.vorto.perspective.vorto.view.VortoProjectSelectionViewPart;
Expand All @@ -23,16 +24,8 @@ public class VortoPerspective implements IPerspectiveFactory {
@Override
public void createInitialLayout(IPageLayout layout) {

layout.createFolder("left", IPageLayout.LEFT, 0.2f,
IPageLayout.ID_EDITOR_AREA);
layout.createFolder("right", IPageLayout.RIGHT, 0.6f,
IPageLayout.ID_EDITOR_AREA);
layout.createFolder("bottom", IPageLayout.BOTTOM, 0.8f,
IPageLayout.ID_EDITOR_AREA);
layout.createFolder("top", IPageLayout.TOP, 0.6f,
IPageLayout.ID_EDITOR_AREA);
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, 0.2f, layout.getEditorArea());

layout.addView(VortoProjectSelectionViewPart.PROJECT_SELECT_VIEW_ID, IPageLayout.LEFT, 0.20f,
layout.getEditorArea());
left.addView(VortoProjectSelectionViewPart.PROJECT_SELECT_VIEW_ID);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

public class VortoProjectSelectionViewPart extends AbstractProjectSelectionViewPart {

public static final String PROJECT_SELECT_VIEW_ID = "org.eclipse.vorto.perspective.vorto.view.VortoProjectSelectionViewPart";
public static final String PROJECT_SELECT_VIEW_ID = "org.eclipse.vorto.perspective.view.VortoProjectSelectionViewPart";

@Override
protected ModelTreeViewer getDataTypeTreeViewer(Composite modelPanel) {
Expand Down

0 comments on commit 7da8cb6

Please sign in to comment.