Skip to content

Instantly share code, notes, and snippets.

IExtensionRegistry registry = Platform.getExtensionRegistry();
Object token = getMasterToken(registry);
if (token == null) {
return;
}
Bundle ide = Platform.getBundle("org.eclipse.ui.ide");
String id = "" + ide.getBundleId();
IExtension[] extensions = registry.getExtensions(ide.getSymbolicName());
for (IExtension ext : extensions) {
if ("org.eclipse.ui.preferencePages".equals(ext
<extension
id="id1"
point="org.eclipse.e4.workbench.model">
<processor
beforefragment="true"
class="org.eclipse.ui.internal.CommandToModelProcessor">
</processor>
</extension>
<unit id='toolingorg.eclipse.e4.fix.jvmArg' version='4.2.0.I20120131-2200' singleton='false'>
<provides size='2'>
<provided namespace='org.eclipse.equinox.p2.iu' name='toolingorg.eclipse.e4.fix.jvmArg' version='4.2.0.I20120131-2200'/>
<provided namespace='toolingorg.eclipse.sdk.ide' name='org.eclipse.e4.fix.jvmArg' version='4.2.0.I20120131-2200'/>
</provides>
<requires>
<required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.sdk.ide' range='[0.0.0,5.0.0)'/>
</requires>
<touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/>
<touchpointData size='1'>
public class HandlerProcessingAddon {
@Inject
private IEventBroker eventBroker;
@PostConstruct
public void postConstruct(MApplication application, EModelService modelService) {
// stuff goes here.
}
}
<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.eclipse.egit.core.GitProvider">
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.runtime,master,tests/com.google.code.atinject.tck"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.ui,master,bundles/org.eclipse.core.commands"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.ui,master,bundles/org.eclipse.core.databinding"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.ui,master,bundles/org.eclipse.core.databinding.beans"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.ui,master,bundles/org.eclipse.core.databinding.observable"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.ui,master,bundles/org.eclipse.core.databinding.property"/>
<project reference="1.0,https://git.eclipse.org/r/platform/eclipse.platform.runtime,master,bundles/org.eclipse.core.expressions"/>
#!/bin/bash
#
cat - >'/tmp/Jonathan Balsano' <<EOF
Signed-off-by: Jonathan Balsano <[email protected]>
EOF
cat - >'/tmp/Melody Ju' <<EOF
java.lang.IllegalArgumentException: A theme with the id 'org.eclipse.e4.ui.css.theme.e4_classic' is already registered
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.registerTheme(ThemeEngine.java:232)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.<init>(ThemeEngine.java:147)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager.getEngineForDisplay(ThemeEngineManager.java:28)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(PartRenderingEngine.java:1232)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1009)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:147)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:620)
UI Test Suite-fixed
org.eclipse.ui.tests.UiTestSuite
org.eclipse.ui.tests.api.ApiTestSuite
org.eclipse.ui.tests.api.IWorkbenchPageTest
testBug76285(org.eclipse.ui.tests.api.IWorkbenchPageTest)
junit.framework.AssertionFailedError: expected:<5> but was:<6>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
/*******************************************************************************
* Copyright (c) 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.html), and the Eclipse Distribution
* License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html).
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
bash-4.1$ docker run -ti --link=original_node:pwnode docker1:latest /bin/bash
FATA[0001] Post http:///var/run/docker.sock/v1.16/containers/afccd485ab7decb9e030dbe5b09b7ac2c0699a93383f33200045bc389f846d49/start: EOF. Are you trying to connect to a TLS-enabled daemon without TLS?