Skip to content

Instantly share code, notes, and snippets.

View xcoulon's full-sized avatar

Xavier Coulon xcoulon

View GitHub Profile
<mockup version="1.0" skin="sketch" measuredW="418" measuredH="487" mockupW="374" mockupH="445">
<controls>
<control controlID="16" controlTypeID="com.balsamiq.mockups::TabBar" x="34" y="32" w="374" h="445" measuredW="245" measuredH="100" zOrder="0" locked="false" isInGroup="-1">
<controlProperties>
<text>JAX-RS%20Outline%20View</text>
</controlProperties>
</control>
<control controlID="19" controlTypeID="com.balsamiq.mockups::HelpButton" x="390" y="39" w="-1" h="-1" measuredW="18" measuredH="18" zOrder="1" locked="false" isInGroup="-1"/>
<control controlID="21" controlTypeID="com.balsamiq.mockups::SearchBox" x="40" y="60" w="223" h="-1" measuredW="65" measuredH="25" zOrder="2" locked="false" isInGroup="-1">
<controlProperties>
package org.bytesparadise.tools.common.util;
import org.bytesparadise.tools.common.CommonBundleActivator;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
/**
* A Bundle-scoped utility class for Declarative Services location.
*
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.bytesparadise.tools.common.JdtUtilService">
<implementation class="org.bytesparadise.tools.common.service.impl.JdtUtilsServiceImpl"/>
<service>
<provide interface="org.bytesparadise.tools.common.service.IJdtUtilsService"/>
</service>
</scr:component>
@xcoulon
xcoulon / JaxrsElementPostReconcileListener
Created February 20, 2011 22:25
JaxrsElementPostChangeListener
public class JaxrsElementPostReconcileListener implements IElementChangedListener {
private final IJavaProject javaProject;
public JaxrsElementPostReconcileListener(IJavaProject javaProject) {
this.javaProject = javaProject;
}
@Override
public void elementChanged(ElementChangedEvent event) {
@xcoulon
xcoulon / JbossToolsContentOrganization
Created December 4, 2012 10:15
Jboss Tools content organization
Home (/index.html) -> landing page.
"Hero-unit" with a hi-res screenshot, a title ("Eclipse Plugins for JBoss Technology"), links to videos and Install button
3 columns:
- Feature highlight
- latest news (2 or 3 links to latest blog with title/author/date)
- Upcoming Events
Download (/Download)
/index.html -> how to install JBT/JBDS (with BYOE), including links to download and update sites
eclipse:
luna:
kepler:
short_name: Kepler
full_name: Eclipse Kepler 4.3
download_url: http://www.eclipse.org/downloads/
juno:
short_name: Juno
full_name: Eclipse Juno 4.2.2
download_url: http://www.eclipse.org/downloads/packages/release/juno/sr2
...
gem 'asciidoctor', '1.5.0.preview.2'
...
Alexey Kazakov <akazakov@exadel.com>
Andre Dietisheim <adietish@redhat.com>
Barry LaFond <blafond@redhat.com>
Bob Brodt <bbrodt@redhat.com>
Daniel Florian <dflorian@redhat.com>
Fred Bricon <fbricon@gmail.com>
Gorkem Ercan <gorkem.ercan@gmail.com>
Ilya Buziuk <ibuziuk@exadel.com>
Koen Aers <koen.aers@gmail.com>
Lars Heinemann <lhein@apache.org>
@xcoulon
xcoulon / logger_template.adoc
Last active July 2, 2024 17:17
SLF4J Logger Template for Eclipse

SLF4J Logger Template for Eclipse

In Preferences>Java>Editor>Templates, create a new template named logger in the Java type members context and with the following pattern:

/** The usual Logger.*/
private static final Logger LOGGER = LoggerFactory.getLogger(${enclosing_type}.class);
${:import('org.slf4j.Logger','org.slf4j.LoggerFactory')}
apiVersion: v1
kind: BuildConfig
metadata:
name: pipeline
namespace: pipelineproject
selfLink: /oapi/v1/namespaces/pipelineproject/buildconfigs/pipeline
uid: a5b191c1-2db9-11e6-897a-52540039ecd4
resourceVersion: '47305'
creationTimestamp: '2016-06-08T20:43:25Z'
labels: