Compare commits

...

2 Commits

Author SHA1 Message Date
Chao MENG
7ceeaabfc4 test patch 2020-09-30 16:08:12 +08:00
Chao MENG
bbb08871b5 chore: temp test patch 2020-09-30 10:42:59 +08:00
8 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.talend.patch.test</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>

View File

@@ -0,0 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Test
Bundle-SymbolicName: org.talend.patch.test;singleton:=true
Bundle-Version: 7.4.1.qualifier
Bundle-Activator: org.talend.patch.test.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime
Automatic-Module-Name: org.talend.patch.test
Export-Package: org.talend.patch.test

View File

@@ -0,0 +1,4 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.studio</groupId>
<artifactId>tdi-studio-se</artifactId>
<version>7.4.1-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
<artifactId>org.talend.patch.test</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View File

@@ -0,0 +1,47 @@
package org.talend.patch.test;
import javax.swing.JOptionPane;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "org.talend.patch.test"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
/**
* The constructor
*/
public Activator() {
}
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
JOptionPane.showMessageDialog(null, "Hello, patch2");
plugin = this;
}
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static Activator getDefault() {
return plugin;
}
}

View File

@@ -1476,6 +1476,9 @@ public class LoginProjectPage extends AbstractLoginActionPage {
errorManager.setErrMessage(Messages.getString("LoginComposite.PROJECT_NEED")); //$NON-NLS-1$
}
}
if (!errorManager.hasError()) {
errorManager.setInfoMessage("Temp patch v1");
}
} else {
errorManager.setErrMessage(Messages.getString("LoginComposite.connectionEmpty")); //$NON-NLS-1$
}

View File

@@ -74,6 +74,7 @@
<module>main/features/org.talend.help.tos.components.feature</module>
<module>main/plugins/org.talend.designer.core.generic</module>
<module>main/plugins/org.talend.repository.generic</module>
<module>main/plugins/org.talend.patch.test</module>
<module>main/plugins/org.talend.designer.abstractmap</module>
<module>main/plugins/org.talend.designer.alfrescooutput</module>
<module>main/plugins/org.talend.designer.business.diagram</module>