summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-04-15 02:04:50 (EDT)
committerSteffen Kriese2011-04-15 02:04:50 (EDT)
commitdca059ba25a5e3319b20634bc576b4a320cf49e8 (patch)
treee0d7c5cbca091d304d3c53f1531edd00cb958a72
parent962d57e529f1ace961c3014e09c77cf83947bee8 (diff)
downloadorg.eclipse.riena.toolbox-dca059ba25a5e3319b20634bc576b4a320cf49e8.zip
org.eclipse.riena.toolbox-dca059ba25a5e3319b20634bc576b4a320cf49e8.tar.gz
org.eclipse.riena.toolbox-dca059ba25a5e3319b20634bc576b4a320cf49e8.tar.bz2
updated copyright in templates
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/Activator.java15
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/client/ClientExample.java9
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Address.java20
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/BankData.java16
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Birth.java14
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Customer.java52
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/ICustomerService.java8
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/CustomerService.java8
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/ServerExample.java2
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/$applicationClass$.java10
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleController.java8
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleView.java8
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/mail/java/$applicationClass$.java12
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/mail/java/MessagePopupHandler.java10
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/mail/java/NodeFactory.java4
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/mail/java/OpenViewHandler.java2
-rw-r--r--org.eclipse.riena.ui.templates/templates_3.4/mail/java/View.java28
17 files changed, 139 insertions, 87 deletions
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/Activator.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/Activator.java
index 0d51f1d..21062a5 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/Activator.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/Activator.java
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 compeople AG 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
+
package $packageName$;
import org.osgi.framework.BundleActivator;
@@ -19,10 +30,10 @@ import $packageName$.server.ServerExample;
* <p>
* In client mode this activator configures a "remote" OSGi Service which acts
* as a proxy for the actual service on the server.
- *
+ *
*/
public class Activator implements BundleActivator {
-
+
private ClientExample client;
private ServerExample server;
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/client/ClientExample.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/client/ClientExample.java
index 9abf540..d5af62a 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/client/ClientExample.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/client/ClientExample.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -8,6 +8,7 @@
* Contributors:
* compeople AG - initial API and implementation
*******************************************************************************/
+
package $packageName$.client;
import org.eclipse.riena.communication.core.IRemoteServiceRegistration;
@@ -26,7 +27,7 @@ public class ClientExample {
public ClientExample(String port) {
this.port = port;
}
-
+
public void start(BundleContext context) {
if (customerServiceReg != null) {
return;
@@ -34,7 +35,7 @@ public class ClientExample {
RemoteServiceFactory rsf = new RemoteServiceFactory();
Class<?> serviceInterface = ICustomerService.class;
- String url = "http://localhost"
+ String url = "http://localhost"
+ (port != null ? ":" + port : "")
+ "/hessian/CustomerService";
String protocol = "hessian";
@@ -54,7 +55,7 @@ public class ClientExample {
System.out.println(customer);
}
}
-
+
public void unbind(ICustomerService customerService) {
System.out.println("ClientExample.unbind()");
}
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Address.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Address.java
index 4514562..d4c9616 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Address.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Address.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -31,7 +31,7 @@ public class Address implements Cloneable {
/**
* Creates an address and sets the given values
- *
+ *
* @param country
* - the country to set
* @param zipCode
@@ -54,7 +54,7 @@ public class Address implements Cloneable {
/**
* Returns the city
- *
+ *
* @return city
*/
public String getCity() {
@@ -65,7 +65,7 @@ public class Address implements Cloneable {
/**
* Sets the given city
- *
+ *
* @param city
* - the city to set
*/
@@ -77,7 +77,7 @@ public class Address implements Cloneable {
/**
* Returns the street
- *
+ *
* @return street
*/
public String getStreet() {
@@ -88,7 +88,7 @@ public class Address implements Cloneable {
/**
* Sets the given street
- *
+ *
* @param street
* - the street to set
*/
@@ -100,7 +100,7 @@ public class Address implements Cloneable {
/**
* Returns the zip code
- *
+ *
* @return zip code
*/
public String getZipCode() {
@@ -111,7 +111,7 @@ public class Address implements Cloneable {
/**
* Sets the given zip code
- *
+ *
* @param zipCode
* - the zip code to set
*/
@@ -123,7 +123,7 @@ public class Address implements Cloneable {
/**
* Returns the country
- *
+ *
* @return country
*/
public String getCountry() {
@@ -134,7 +134,7 @@ public class Address implements Cloneable {
/**
* Sets the given country
- *
+ *
* @param country
* - the country to set
*/
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/BankData.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/BankData.java
index 9b0068c..8a90c90 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/BankData.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/BankData.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -30,7 +30,7 @@ public class BankData implements Cloneable {
/**
* Creates bank data and sets the given values
- *
+ *
* @param accountNumber
* - the accountNumber to set
* @param bank
@@ -62,7 +62,7 @@ public class BankData implements Cloneable {
/**
* Returns the account number
- *
+ *
* @return account number
*/
public String getAccountNumber() {
@@ -73,7 +73,7 @@ public class BankData implements Cloneable {
/**
* Sets the given account number
- *
+ *
* @param accountNumber
* - the account number to set
*/
@@ -85,7 +85,7 @@ public class BankData implements Cloneable {
/**
* Returns the name of the bank
- *
+ *
* @return name of bank
*/
public String getBank() {
@@ -96,7 +96,7 @@ public class BankData implements Cloneable {
/**
* Sets the given name of the bank
- *
+ *
* @param bank
* - the name of bank to set
*/
@@ -108,7 +108,7 @@ public class BankData implements Cloneable {
/**
* Returns the bank code
- *
+ *
* @return Returns the bankCode.
*/
public String getBankCode() {
@@ -119,7 +119,7 @@ public class BankData implements Cloneable {
/**
* Sets the given bank code
- *
+ *
* @param bankCode
* - the bank codd to set.
*/
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Birth.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Birth.java
index 08b68d0..5cd3938 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Birth.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Birth.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -31,7 +31,7 @@ public class Birth {
/**
* Creates a birth and sets the given values
- *
+ *
* @param day
* - birthday to set
* @param place
@@ -48,7 +48,7 @@ public class Birth {
/**
* Returns the birthday
- *
+ *
* @return birthday
*/
public Date getBirthDay() {
@@ -59,7 +59,7 @@ public class Birth {
/**
* Sets the given birthday
- *
+ *
* @param day
* - the birth day to set.
*/
@@ -71,7 +71,7 @@ public class Birth {
/**
* Returns the birth place
- *
+ *
* @return birthplace.
*/
public String getBirthPlace() {
@@ -82,14 +82,14 @@ public class Birth {
/**
* Sets the given birth place
- *
+ *
* @param birthPlace
* - the birthplace to set.
*/
public void setBirthPlace(String birthPlace) {
this.birthPlace = birthPlace;
-
+
} // end method
} // end class
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Customer.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Customer.java
index 0658dd5..08fabf5 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Customer.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/Customer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -95,7 +95,7 @@ public class Customer {
/**
* Returns the address of the customer
- *
+ *
* @return address of the customer
*/
public Address getAddress() {
@@ -106,7 +106,7 @@ public class Customer {
/**
* Sets the address of the customer
- *
+ *
* @param address
* of the customer
*/
@@ -119,7 +119,7 @@ public class Customer {
/**
* Returns the birth of the customer
- *
+ *
* @return birth of the customer
*/
public Birth getBirth() {
@@ -130,7 +130,7 @@ public class Customer {
/**
* Sets the birth of the customer
- *
+ *
* @param birth
* - the birth to set
*/
@@ -143,7 +143,7 @@ public class Customer {
/**
* Returns the first name of the customer
- *
+ *
* @return first name of the customer
*/
public String getFirstName() {
@@ -154,7 +154,7 @@ public class Customer {
/**
* Sets the first name of the customer
- *
+ *
* @param firstName
* - the first name to set
*/
@@ -167,7 +167,7 @@ public class Customer {
/**
* Returns the form of the customer
- *
+ *
* @return form of the customer
*/
public String getForm() {
@@ -178,7 +178,7 @@ public class Customer {
/**
* Sets the form of the customer
- *
+ *
* @param form
* - the form to set.
*/
@@ -191,7 +191,7 @@ public class Customer {
/**
* Returns the last name of the customer
- *
+ *
* @return last name of the customer
*/
public String getLastName() {
@@ -202,7 +202,7 @@ public class Customer {
/**
* Sets the last name of the customer
- *
+ *
* @param lastName
* - the last name to set
*/
@@ -215,7 +215,7 @@ public class Customer {
/**
* Returns the title of the customer
- *
+ *
* @return title of the customer
*/
public String getTitle() {
@@ -226,7 +226,7 @@ public class Customer {
/**
* Set the title of the customer
- *
+ *
* @param title
* - the title to set
*/
@@ -239,7 +239,7 @@ public class Customer {
/**
* Returns the fax number of the customer
- *
+ *
* @return fax number
*/
public String getFax() {
@@ -250,7 +250,7 @@ public class Customer {
/**
* Sets the given fax number
- *
+ *
* @param fax
* - the fax number to set
*/
@@ -263,7 +263,7 @@ public class Customer {
/**
* Returns the business phone number of the customer
- *
+ *
* @return business phone number
*/
public String getPhoneBusiness() {
@@ -274,7 +274,7 @@ public class Customer {
/**
* Sets the given business phone number
- *
+ *
* @param phoneBusiness
* - the phone number to set
*/
@@ -287,7 +287,7 @@ public class Customer {
/**
* Returns the mobile phone number of the customer
- *
+ *
* @return mobile phone number
*/
public String getPhoneMobile() {
@@ -298,7 +298,7 @@ public class Customer {
/**
* Sets the given mobile phone number
- *
+ *
* @param phoneMobile
* - the phone number to set
*/
@@ -311,7 +311,7 @@ public class Customer {
/**
* Returns the private phone number of the customer
- *
+ *
* @return private phone number
*/
public String getPhonePrivate() {
@@ -322,7 +322,7 @@ public class Customer {
/**
* Sets the given private phone number
- *
+ *
* @param phonePrivate
* - the phone number to set
*/
@@ -335,7 +335,7 @@ public class Customer {
/**
* Returns the eMail address of the customer
- *
+ *
* @return eMail address
*/
public String getEmail() {
@@ -346,7 +346,7 @@ public class Customer {
/**
* Sets the given eMail address
- *
+ *
* @param email
* - the eMail address to set
*/
@@ -379,7 +379,7 @@ public class Customer {
/**
* Compares two customers by customerNumber.
- *
+ *
* @param obj
* The reference object with which to compare.
* @return <code>true</code> if the argument is a Customer with the same
@@ -414,7 +414,7 @@ public class Customer {
/**
* Returns a list with all bank data
- *
+ *
* @return list of bank data
*/
public List<BankData> getBankData() {
@@ -425,7 +425,7 @@ public class Customer {
/**
* Sets the given list of bank data
- *
+ *
* @param bankData
* - the list of bank data to set
*/
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/ICustomerService.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/ICustomerService.java
index fb7927a..eaa365f 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/ICustomerService.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/common/ICustomerService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -11,20 +11,20 @@
package $packageName$.common;
/**
- * An example service that retrieves or stores {@link Customer}s.
+ * An example service that retrieves or stores {@link Customer}s.
*/
public interface ICustomerService {
/**
* Retrieves customers from the database. For the query the given customer
* is use as an example (Query by Example (QBE))
- *
+ *
* @param customer
* customer candidate
* @return list of customers
*/
Customer[] findCustomer(Customer customer);
-
+
void store(Customer customer);
}
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/CustomerService.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/CustomerService.java
index 91b49b5..97aa5c4 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/CustomerService.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/CustomerService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -39,7 +39,7 @@ public class CustomerService implements ICustomerService {
nextUniqueCustomerNumber = 1;
initializeCustomers();
}
-
+
public Customer[] findCustomer(Customer searchedCustomer) {
List<Customer> l = new ArrayList<Customer>();
@@ -59,7 +59,7 @@ public class CustomerService implements ICustomerService {
// helping methods
//////////////////
-
+
private boolean contains(String original, String other) {
if (other == null || other.equals("")) {
return true;
@@ -160,7 +160,7 @@ public class CustomerService implements ICustomerService {
/**
* This method is also used internally to store customers. No security is
* checked.
- *
+ *
* @param customer
*/
private void storeInternal(Customer customer) {
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/ServerExample.java b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/ServerExample.java
index 420f2eb..0cca4cc 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/ServerExample.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/cs/java/server/ServerExample.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/$applicationClass$.java b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/$applicationClass$.java
index 24a3246..3d359aa 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/$applicationClass$.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/$applicationClass$.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 compeople AG 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package $packageName$;
import org.eclipse.riena.navigation.IApplicationNode;
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleController.java b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleController.java
index 778ac23..ed8a74d 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleController.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleController.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -23,16 +23,16 @@ public class HelloWorldSubModuleController extends SubModuleController {
super(navigationNode);
bean = new Person("Zuse", "Konrad");
}
-
+
public void configureRidgets() {
ITextRidget txtFirst = getRidget(ITextRidget.class, "txtFirst");
txtFirst.bindToModel(bean, "firstname");
txtFirst.setMandatory(true);
-
+
ITextRidget txtLast = getRidget(ITextRidget.class, "txtLast");
txtLast.bindToModel(bean, "lastname");
txtLast.setMandatory(true);
-
+
updateAllRidgetsFromModel();
}
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleView.java b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleView.java
index fca59cf..2fca875 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleView.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/helloRiena/java/HelloWorldSubModuleView.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -24,7 +24,7 @@ import org.eclipse.swt.widgets.Text;
/**
* Very simple sub module view, that displays only a label with the text "Hello
* World!".
- *
+ *
*/
public class HelloWorldSubModuleView extends SubModuleView {
@@ -38,11 +38,11 @@ public class HelloWorldSubModuleView extends SubModuleView {
parent.setBackground(LnfManager.getLnf().getColor(LnfKeyConstants.SUB_MODULE_BACKGROUND));
parent.setLayout(new GridLayout(2, false));
GridDataFactory gdf = GridDataFactory.fillDefaults().hint(200, SWT.DEFAULT);
-
+
UIControlsFactory.createLabel(parent, "First Name:");
Text txtFirst = UIControlsFactory.createText(parent, SWT.NONE, "txtFirst");
gdf.applyTo(txtFirst);
-
+
UIControlsFactory.createLabel(parent, "Last Name:");
Text txtLast = UIControlsFactory.createText(parent, SWT.NONE, "txtLast");
gdf.applyTo(txtLast);
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/$applicationClass$.java b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/$applicationClass$.java
index 29e3579..f0522b4 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/$applicationClass$.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/$applicationClass$.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 compeople AG 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package $packageName$;
import org.eclipse.riena.navigation.IApplicationNode;
@@ -17,7 +27,7 @@ import org.eclipse.riena.ui.workarea.WorkareaManager;
public class $applicationClass$ extends SwtApplication {
public static final String ID_GROUP_MBOXES = "rcp.mail.groupMailboxes"; //$NON-NLS-1$
-
+
@Override
protected IApplicationNode createModel() {
ApplicationNode app = new ApplicationNode("Riena Mail"); //$NON-NLS-1$
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/MessagePopupHandler.java b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/MessagePopupHandler.java
index a55b68b..81a1c3c 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/MessagePopupHandler.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/MessagePopupHandler.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 compeople AG 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package $packageName$;
import org.eclipse.core.commands.AbstractHandler;
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/NodeFactory.java b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/NodeFactory.java
index 1a178e1..1a04232 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/NodeFactory.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/NodeFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
@@ -22,7 +22,7 @@ import org.eclipse.riena.ui.workarea.WorkareaManager;
* Factory to help create {@link IModuleNode}s and {@link ISubModuleNode}s.
*/
public final class NodeFactory {
-
+
private static int nodeid=0;
private NodeFactory() {
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/OpenViewHandler.java b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/OpenViewHandler.java
index 26477ee..2c95459 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/OpenViewHandler.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/OpenViewHandler.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2009 compeople AG and others.
+ * Copyright (c) 2007, 2011 compeople AG 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
diff --git a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/View.java b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/View.java
index c79b4bc..daca12e 100644
--- a/org.eclipse.riena.ui.templates/templates_3.4/mail/java/View.java
+++ b/org.eclipse.riena.ui.templates/templates_3.4/mail/java/View.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2011 compeople AG 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package $packageName$;
import org.eclipse.jface.dialogs.MessageDialog;
@@ -17,7 +27,7 @@ import org.eclipse.ui.part.ViewPart;
public class View extends ViewPart {
public static final String ID = "rcp.mail.view";
-
+
public void createPartControl(Composite parent) {
Composite top = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout();
@@ -32,28 +42,28 @@ public class View extends ViewPart {
layout.marginWidth = 10;
layout.numColumns = 2;
banner.setLayout(layout);
-
+
// setup bold font
- Font boldFont = JFaceResources.getFontRegistry().getBold(JFaceResources.DEFAULT_FONT);
-
+ Font boldFont = JFaceResources.getFontRegistry().getBold(JFaceResources.DEFAULT_FONT);
+
Label l = new Label(banner, SWT.WRAP);
l.setText("Subject:");
l.setFont(boldFont);
l = new Label(banner, SWT.WRAP);
l.setText("This is a message about the cool Eclipse RCP!");
-
+
l = new Label(banner, SWT.WRAP);
l.setText("From:");
l.setFont(boldFont);
-
+
final Link link = new Link(banner, SWT.NONE);
link.setText("<a>nicole@mail.org</a>");
- link.addSelectionListener(new SelectionAdapter() {
+ link.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
MessageDialog.openInformation(getSite().getShell(), "Not Implemented", "Imagine the address book or a new message being created now.");
- }
+ }
});
-
+
l = new Label(banner, SWT.WRAP);
l.setText("Date:");
l.setFont(boldFont);