فهرست منبع

added Editor stub

LH 10 سال پیش
والد
کامیت
f5491ff1c0

+ 1 - 0
iZplPlugins/Editor/.gitignore

@@ -0,0 +1 @@
+auxy

+ 12 - 0
iZplPlugins/Editor/build.gradle

@@ -0,0 +1,12 @@
+apply plugin:'java'
+task distZip(dependsOn: 'jar') {
+	//NO-OPtask als redirect
+}
+
+dependencies
+{
+	compile fileTree(dir: 'lib', include: '*.jar')
+	compile project(':iZpl')
+}
+
+

+ 54 - 0
iZplPlugins/Editor/src/main/java/de/nplusc/izc/izpl/plugins/editor/Editor.java

@@ -0,0 +1,54 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package de.nplusc.izc.izpl.plugins.editor;
+
+import de.nplusc.izc.iZpl.API.FeaturePlugin;
+
+/**
+ *
+ * @author iZc <nplusc.de>
+ */
+public class Editor implements FeaturePlugin
+{
+
+    @Override
+    public void parseParameter(String param)
+    {
+        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+    }
+
+    @Override
+    public boolean hasUserInterface()
+    {
+        return true;
+    }
+
+    @Override
+    public void openUserInterface()
+    {
+        
+    }
+
+    @Override
+    public String getPluginName()
+    {
+        return "Editor";
+    }
+
+    @Override
+    public void initializePlugin()
+    {
+       
+    }
+
+    @Override
+    public void prepareUpgrade()
+    {
+        
+    }
+    
+}

+ 10 - 0
iZplPlugins/Editor/src/main/resources/plugin.yml

@@ -0,0 +1,10 @@
+pluginbaseclass: de.nplusc.izc.izpl.plugins.editor.Editor
+supportedoses:
+  - 'windows'
+  - 'linux'
+  - 'mac'
+# can be windows, mac or linux
+supportedarchitectures:
+  - 'x86'
+  - 'x64'
+# x86 or x64 valid

+ 2 - 1
settings.gradle

@@ -1,2 +1,3 @@
 include 'ToolKit','iZpl',  'izsetup','WPCMgr','UpidTK', 'izstreamer', 'LogBlockHeatMapper','DefaultUIFile','iZlaunch',
-'iZpaqSFX','MazeViewer','TWPUtil',"iZplPlugins:WMP","iZplPlugins:foobar2000_others","iZplPlugins:itunes","iZplPlugins:gameradio"
+'iZpaqSFX','MazeViewer','TWPUtil',"iZplPlugins:WMP","iZplPlugins:foobar2000_others","iZplPlugins:itunes","iZplPlugins:gameradio",
+"iZplPlugins:editor"