aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeyhan@eclipsesource.com2012-03-21 11:13:51 (EDT)
committerbeyhan@eclipsesource.com2012-03-21 11:13:51 (EDT)
commit9c637ce331e7b96aea5ee19369a8c3302d559d29 (patch)
tree4ac15b1c97871271d20c705fd7f4d8c551351ec5
parent134861e6e63ad5d29de56424fcd7a05e3e12dbfe (diff)
downloadorg.eclipse.rtp-9c637ce331e7b96aea5ee19369a8c3302d559d29.zip
org.eclipse.rtp-9c637ce331e7b96aea5ee19369a8c3302d559d29.tar.gz
org.eclipse.rtp-9c637ce331e7b96aea5ee19369a8c3302d559d29.tar.bz2
364706: [Configurator][UI] Provide a configurator UIintroduce-ui-with-jface
https://bugs.eclipse.org/bugs/show_bug.cgi?id=364706 * added license header
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurationListener.xml4
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurator.xml4
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventService.xml4
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventing.xml4
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/IEventService.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/RestTemplate.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ComponentsTabContentUtil.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiFooter.java2
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiHeader.java2
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationEvent.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationListener.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventService.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventingServiceUtil.java7
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationEvent.java9
-rw-r--r--bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationListener.java7
15 files changed, 81 insertions, 4 deletions
diff --git a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurationListener.xml b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurationListener.xml
index cd8561a..bdaa401 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurationListener.xml
+++ b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurationListener.xml
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2011, EclipseSource and others All rights reserved. This
+ program and the accompanying materials are made available under the terms
+ of the Eclipse Public License v1.0 which accompanies this distribution, and
+ is available at http://www.eclipse.org/legal/epl-v10.html -->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.rtp.configurator.ui.configuration.listener">
<implementation class="org.eclipse.rtp.configurator.ui.internal.event.ConfigurationListener"/>
<service>
diff --git a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurator.xml b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurator.xml
index e207c77..375b67a 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurator.xml
+++ b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIConfigurator.xml
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2011, EclipseSource and others All rights reserved. This
+ program and the accompanying materials are made available under the terms
+ of the Eclipse Public License v1.0 which accompanies this distribution, and
+ is available at http://www.eclipse.org/legal/epl-v10.html -->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="UIConfigurator">
<implementation class="org.eclipse.rtp.configurator.ui.UIConfigurator"/>
<service>
diff --git a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventService.xml b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventService.xml
index 5bd4fdc..6d11fc9 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventService.xml
+++ b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventService.xml
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2011, EclipseSource and others All rights reserved. This
+ program and the accompanying materials are made available under the terms
+ of the Eclipse Public License v1.0 which accompanies this distribution, and
+ is available at http://www.eclipse.org/legal/epl-v10.html -->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.rtp.configurator.ui.event.service">
<implementation class="org.eclipse.rtp.configurator.ui.internal.event.EventService"/>
<service>
diff --git a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventing.xml b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventing.xml
index a5b3420..564d887 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventing.xml
+++ b/bundles/org.eclipse.rtp.configurator.ui/OSGI-INF/UIEventing.xml
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2011, EclipseSource and others All rights reserved. This
+ program and the accompanying materials are made available under the terms
+ of the Eclipse Public License v1.0 which accompanies this distribution, and
+ is available at http://www.eclipse.org/legal/epl-v10.html -->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.eclipse.rtp.configurator.ui.eventing">
<implementation class="org.eclipse.rtp.configurator.ui.internal.event.EventingServiceUtil"/>
<reference bind="addEventService" cardinality="1..1" interface="org.eclipse.rtp.configurator.rest.IEventService" name="IEventService" policy="static"/>
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/IEventService.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/IEventService.java
index a427cef..e40892d 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/IEventService.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/IEventService.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.rest;
import org.eclipse.rtp.configurator.ui.internal.event.IConfigurationEvent;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/RestTemplate.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/RestTemplate.java
index 3cc3478..8675b9d 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/RestTemplate.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/rest/RestTemplate.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.rest;
import java.io.IOException;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ComponentsTabContentUtil.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ComponentsTabContentUtil.java
index d6d9420..387c246 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ComponentsTabContentUtil.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ComponentsTabContentUtil.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui;
import java.util.HashMap;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiFooter.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiFooter.java
index 9b94ebd..bd54ba1 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiFooter.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiFooter.java
@@ -15,7 +15,7 @@ public class ConfiguratorUiFooter {
public void createFooter( Shell shell ) {
Composite footer = UiHelper.createGridComposite( shell, 1, true );
// TODO - Get the RTP version.
- UiHelper.createLabel( footer, 1, "RTP Version XZY" );
+ UiHelper.createLabel( footer, 1, "RTP Version 1.0.0" );
}
public void dispose() {
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiHeader.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiHeader.java
index 9827f57..f3335b2 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiHeader.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/ConfiguratorUiHeader.java
@@ -29,8 +29,6 @@ import org.eclipse.swt.widgets.Shell;
/**
* Constructs the Configurator UI header.
- *
- * @author fluffi
*/
public class ConfiguratorUiHeader {
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationEvent.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationEvent.java
index f69ea28..ed8beb1 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationEvent.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationEvent.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
public class ConfigurationEvent implements IConfigurationEvent {
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationListener.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationListener.java
index 773e05f..20654af 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationListener.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/ConfigurationListener.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
import java.util.HashMap;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventService.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventService.java
index 58fac10..b35a5f6 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventService.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventService.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
import java.util.ArrayList;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventingServiceUtil.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventingServiceUtil.java
index 9536289..4227769 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventingServiceUtil.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/EventingServiceUtil.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
import org.eclipse.rtp.configurator.rest.IEventService;
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationEvent.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationEvent.java
index 1df2fe0..a0702a3 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationEvent.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationEvent.java
@@ -1,8 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
public interface IConfigurationEvent {
String getNewIntanceURI();
-
+
String getSessionId();
}
diff --git a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationListener.java b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationListener.java
index 0f5e93e..98cd7dc 100644
--- a/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationListener.java
+++ b/bundles/org.eclipse.rtp.configurator.ui/src/org/eclipse/rtp/configurator/ui/internal/event/IConfigurationListener.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others. All rights reserved. This program and the
+ * accompanying materials are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html Contributors: EclipseSource - initial API and
+ * implementation
+ *******************************************************************************/
package org.eclipse.rtp.configurator.ui.internal.event;
import org.eclipse.rtp.configurator.ui.ComponentsTab;