]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Split scl.ui plugin. 52/4552/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 21 Oct 2020 12:27:11 +0000 (15:27 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 21 Oct 2020 12:27:11 +0000 (15:27 +0300)
Moved SCL Issues, Module Browser and SCL Development perspective to a
separate scl.ui.development plugin. Added new scl.ui.development.
feature.

gitlab #627
Change-Id: I60c937aedca10522ceeb886091a82d403fafe6a8

12 files changed:
bundles/org.simantics.scl.ui.development/.classpath [new file with mode: 0644]
bundles/org.simantics.scl.ui.development/.project [new file with mode: 0644]
bundles/org.simantics.scl.ui.development/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
bundles/org.simantics.scl.ui.development/META-INF/MANIFEST.MF [new file with mode: 0644]
bundles/org.simantics.scl.ui.development/build.properties [new file with mode: 0644]
bundles/org.simantics.scl.ui.development/plugin.xml [new file with mode: 0644]
bundles/org.simantics.scl.ui/plugin.xml
bundles/pom.xml
features/org.simantics.scl.ui.development.feature/.project [new file with mode: 0644]
features/org.simantics.scl.ui.development.feature/build.properties [new file with mode: 0644]
features/org.simantics.scl.ui.development.feature/feature.xml [new file with mode: 0644]
features/pom.xml

diff --git a/bundles/org.simantics.scl.ui.development/.classpath b/bundles/org.simantics.scl.ui.development/.classpath
new file mode 100644 (file)
index 0000000..eca7bdb
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/bundles/org.simantics.scl.ui.development/.project b/bundles/org.simantics.scl.ui.development/.project
new file mode 100644 (file)
index 0000000..3c87309
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.simantics.scl.ui.development</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/bundles/org.simantics.scl.ui.development/.settings/org.eclipse.jdt.core.prefs b/bundles/org.simantics.scl.ui.development/.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..0c68a61
--- /dev/null
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/bundles/org.simantics.scl.ui.development/META-INF/MANIFEST.MF b/bundles/org.simantics.scl.ui.development/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..2d15670
--- /dev/null
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: SCL Development UI
+Bundle-SymbolicName: org.simantics.scl.ui.development;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Semantum
+Automatic-Module-Name: org.simantics.scl.ui.development
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Require-Bundle: org.eclipse.ui,
+ org.simantics.scl.ui;bundle-version="0.5.0"
diff --git a/bundles/org.simantics.scl.ui.development/build.properties b/bundles/org.simantics.scl.ui.development/build.properties
new file mode 100644 (file)
index 0000000..e9863e2
--- /dev/null
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               plugin.xml
diff --git a/bundles/org.simantics.scl.ui.development/plugin.xml b/bundles/org.simantics.scl.ui.development/plugin.xml
new file mode 100644 (file)
index 0000000..1f079ac
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.views">
+      <view
+            allowMultiple="false"
+            category="org.simantics.scl.ui.category"
+            class="org.simantics.scl.ui.issues.SCLIssuesView"
+            icon="platform:/plugin/org.simantics.scl.ui/icons/error.png"
+            id="org.simantics.scl.ui.issues"
+            name="SCL Issues"
+            restorable="true">
+      </view>
+      <view
+            allowMultiple="false"
+            category="org.simantics.scl.ui.category"
+            class="org.simantics.scl.ui.modulebrowser.SCLModuleBrowser"
+            icon="platform:/plugin/org.simantics.scl.ui/icons/lambda.png"
+            id="org.simantics.scl.ui.modulebrowser"
+            name="SCL Module Browser"
+            restorable="true">
+      </view>
+   </extension>
+   <extension
+         point="org.eclipse.ui.perspectives">
+      <perspective
+            class="org.simantics.scl.ui.perspective.SCLPerspectiveFactory"
+            icon="platform:/plugin/org.simantics.scl.ui/icons/lambda.png"
+            id="org.simantics.scl.ui.perspective"
+            name="SCL Development Perspective">
+      </perspective>
+   </extension>
+   <extension
+         point="org.eclipse.ui.perspectiveExtensions">
+      <perspectiveExtension
+            targetID="org.simantics.scl.ui.perspective">
+         <view
+               id="org.simantics.scl.ui.modulebrowser"
+               minimized="false"
+               ratio="0.2"
+               relationship="left"
+               relative="org.eclipse.ui.editorss">
+         </view>
+         <view
+               id="org.simantics.scl.ui.console"
+               minimized="false"
+               ratio="0.8"
+               relationship="bottom"
+               relative="org.eclipse.ui.editorss">
+         </view>
+         <view
+               id="org.simantics.scl.ui.issues"
+               minimized="false"
+               ratio="0.8"
+               relationship="bottom"
+               relative="org.simantics.scl.ui.modulebrowser">
+         </view>
+      </perspectiveExtension>
+   </extension>
+
+</plugin>
index ac4489d2e01bfb751cff6aa31f42bac3f2244905..e137c7404e550a3e6f6e41b0043586eb403a029a 100644 (file)
             name="SCL Script Output"
             restorable="true">
       </view>
-      <view
-            allowMultiple="false"
-            category="org.simantics.scl.ui.category"
-            class="org.simantics.scl.ui.issues.SCLIssuesView"
-            icon="icons/error.png"
-            id="org.simantics.scl.ui.issues"
-            name="SCL Issues"
-            restorable="true">
-      </view>
-      <view
-            allowMultiple="false"
-            category="org.simantics.scl.ui.category"
-            class="org.simantics.scl.ui.modulebrowser.SCLModuleBrowser"
-            icon="icons/lambda.png"
-            id="org.simantics.scl.ui.modulebrowser"
-            name="SCL Module Browser"
-            restorable="true">
-      </view>
+
    </extension>
    <extension
          point="org.eclipse.ui.menus">
    </extension>
    <extension
          point="org.eclipse.ui.perspectives">
-      <perspective
-            class="org.simantics.scl.ui.perspective.SCLPerspectiveFactory"
-            icon="icons/lambda.png"
-            id="org.simantics.scl.ui.perspective"
-            name="SCL Development Perspective">
-      </perspective>
+      
    </extension>
    <extension
          point="org.eclipse.ui.perspectiveExtensions">
-      <perspectiveExtension
-            targetID="org.simantics.scl.ui.perspective">
-         <view
-               id="org.simantics.scl.ui.modulebrowser"
-               minimized="false"
-               ratio="0.2"
-               relationship="left"
-               relative="org.eclipse.ui.editorss">
-         </view>
-         <view
-               id="org.simantics.scl.ui.console"
-               minimized="false"
-               ratio="0.8"
-               relationship="bottom"
-               relative="org.eclipse.ui.editorss">
-         </view>
-         <view
-               id="org.simantics.scl.ui.issues"
-               minimized="false"
-               ratio="0.8"
-               relationship="bottom"
-               relative="org.simantics.scl.ui.modulebrowser">
-         </view>
-      </perspectiveExtension>
+      
    </extension>
    <extension
          point="org.eclipse.ui.themes">
index 59e88c12b6a83843b1a69dbd2cb2766cc5bdbec2..7c4267afa6af33463bdee1c65f1a88f64fe828db 100644 (file)
                <module>org.simantics.scl.runtime</module>
                <module>org.simantics.scl.tutorial</module>
                <module>org.simantics.scl.ui</module>
+               <module>org.simantics.scl.ui.development</module>
                <module>org.simantics.selectionview</module>
                <module>org.simantics.selectionview.ontology</module>
                <module>org.simantics.selectionview.ui.ontology</module>
diff --git a/features/org.simantics.scl.ui.development.feature/.project b/features/org.simantics.scl.ui.development.feature/.project
new file mode 100644 (file)
index 0000000..ee85a91
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.simantics.scl.ui.development.feature</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.FeatureBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.FeatureNature</nature>
+       </natures>
+</projectDescription>
diff --git a/features/org.simantics.scl.ui.development.feature/build.properties b/features/org.simantics.scl.ui.development.feature/build.properties
new file mode 100644 (file)
index 0000000..64f93a9
--- /dev/null
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff --git a/features/org.simantics.scl.ui.development.feature/feature.xml b/features/org.simantics.scl.ui.development.feature/feature.xml
new file mode 100644 (file)
index 0000000..d36c3f6
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="org.simantics.scl.ui.development.feature"
+      label="SCL Development UI Feature"
+      version="1.0.0.qualifier"
+      provider-name="Semantum">
+
+   <description url="http://www.example.com/description">
+      [Enter Feature Description here.]
+   </description>
+
+   <copyright url="http://www.example.com/copyright">
+      [Enter Copyright Description here.]
+   </copyright>
+
+   <license url="http://www.example.com/license">
+      [Enter License Description here.]
+   </license>
+
+   <includes
+         id="org.simantics.scl.ui.feature"
+         version="0.0.0"/>
+
+   <plugin
+         id="org.simantics.scl.ui.development"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+</feature>
index 0f8fbf9482b4544a4b77f76e09287e300e56bcb8..89563d9c165e2894667c1ac2839bc1a7b5a6c0e3 100644 (file)
         <module>org.simantics.rcp.feature</module>
         <module>org.simantics.scl.feature</module>
         <module>org.simantics.scl.ui.feature</module>
+               <module>org.simantics.scl.ui.development.feature</module>
         <module>org.simantics.scl.rest.feature</module>
         <module>org.simantics.sdk.feature</module>
         <module>org.simantics.selectionview.feature</module>