From 5fa70b5d24aa650cca02cf5eaf459d7aad2022de Mon Sep 17 00:00:00 2001 From: Christian Femers Date: Mon, 7 Oct 2019 01:39:21 +0200 Subject: [PATCH] Added Mograsim perspective that contains all useful views directly --- plugins/net.mograsim.plugin.core/plugin.xml | 95 +++++++++++++++++++ .../perspectives/MograsimPerspective.java | 13 +++ 2 files changed, 108 insertions(+) create mode 100644 plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/perspectives/MograsimPerspective.java diff --git a/plugins/net.mograsim.plugin.core/plugin.xml b/plugins/net.mograsim.plugin.core/plugin.xml index 0eaf8d49..f317191c 100644 --- a/plugins/net.mograsim.plugin.core/plugin.xml +++ b/plugins/net.mograsim.plugin.core/plugin.xml @@ -461,4 +461,99 @@ renderingIds="org.eclipse.debug.ui.rendering.raw_memory,org.eclipse.debug.ui.rendering.hexint,org.eclipse.debug.ui.rendering.signedint,org.eclipse.debug.ui.rendering.unsignedint,org.eclipse.debug.ui.rendering.ascii"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/perspectives/MograsimPerspective.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/perspectives/MograsimPerspective.java new file mode 100644 index 00000000..1dfef2f4 --- /dev/null +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/perspectives/MograsimPerspective.java @@ -0,0 +1,13 @@ +package net.mograsim.plugin.perspectives; + +import org.eclipse.ui.IPageLayout; +import org.eclipse.ui.IPerspectiveFactory; + +public class MograsimPerspective implements IPerspectiveFactory +{ + @Override + public void createInitialLayout(IPageLayout factory) + { + // everything is done in the plugin.xml + } +} -- 2.17.1