diff options
author | sbouchet | 2012-03-20 16:22:02 +0000 |
---|---|---|
committer | sbouchet | 2012-03-20 16:22:02 +0000 |
commit | 9594793f7e4d73dded6815de5f8a5e5c90748c6b (patch) | |
tree | f80cde50ee37736d43b8550958abdbfafaf70c31 /tests | |
parent | 07f009376ac8ba93e8a79420855696b1a404416b (diff) | |
download | org.eclipse.eef-9594793f7e4d73dded6815de5f8a5e5c90748c6b.tar.gz org.eclipse.eef-9594793f7e4d73dded6815de5f8a5e5c90748c6b.tar.xz org.eclipse.eef-9594793f7e4d73dded6815de5f8a5e5c90748c6b.zip |
eef head regen
Diffstat (limited to 'tests')
55 files changed, 401 insertions, 144 deletions
diff --git a/tests/org.eclipse.emf.examples.eef.edit/models/conference.eefgen b/tests/org.eclipse.emf.examples.eef.edit/models/conference.eefgen index 22da60289..687f90ecd 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/models/conference.eefgen +++ b/tests/org.eclipse.emf.examples.eef.edit/models/conference.eefgen @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ASCII"?> -<eef-gen:EEFGenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:eef-gen="http://www.eclipse.org/emf/eef/generation/1.0.0" genDirectory="/org.eclipse.emf.examples.eef.edit/src-gen" author="<a href="mailto:stephane.bouchet@obeo.fr">Stephane Bouchet</a>" license="/*******************************************************************************
 * Copyright (c) 2009 Obeo.
 * 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:
 * Obeo - initial API and implementation
 *******************************************************************************/" testsGenDirectory="/org.eclipse.emf.examples.eef.tests.junit/src-gen"> +<eef-gen:EEFGenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:eef-gen="http://www.eclipse.org/emf/eef/generation/1.0.0" genDirectory="/org.eclipse.emf.examples.eef.edit/src-gen" author="<a href="mailto:stephane.bouchet@obeo.fr">Stephane Bouchet</a>" license="/*******************************************************************************
 * Copyright (c) 2008, 2012 Obeo.
 * 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:
 * Obeo - initial API and implementation
 *******************************************************************************/" testsGenDirectory="/org.eclipse.emf.examples.eef.tests.junit/src-gen"> <editionContexts basePackage="org.eclipse.emf.samples" descriptorsGenericPropertiesViews="true" generateJunitTestCases="true"> <PropertiesEditionContext href="conference.components#_KvIaEJkmEd6sxtwdpecy3w"/> </editionContexts> diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceBasePropertiesEditionComponent.java index 9647517e8..5be94c95b 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceBasePropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceBasePropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceLocalisationPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceLocalisationPropertiesEditionComponent.java index e7a2706d6..8a5098b64 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceLocalisationPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceLocalisationPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceParticipantsPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceParticipantsPropertiesEditionComponent.java index a7c31ae68..a9cffe3dd 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceParticipantsPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceParticipantsPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferencePropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferencePropertiesEditionComponent.java index 3736e5347..b4de47470 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferencePropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferencePropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceTalksAndTopicsPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceTalksAndTopicsPropertiesEditionComponent.java index 93f1b5162..183723651 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceTalksAndTopicsPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/ConferenceTalksAndTopicsPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonBasePropertiesEditionComponent.java index b29e91465..9fdbf6f09 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonBasePropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonBasePropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPresencePropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPresencePropertiesEditionComponent.java index a52fb0c92..ac14f84f9 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPresencePropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPresencePropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPropertiesEditionComponent.java index 0899b8c09..1242c908b 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/PersonPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/RoomPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/RoomPropertiesEditionComponent.java index 06b5a454c..85fc6a02a 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/RoomPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/RoomPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/SitePropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/SitePropertiesEditionComponent.java index 6c56756d2..5b0258749 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/SitePropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/SitePropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TalkPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TalkPropertiesEditionComponent.java index 5f7a1d5ee..d2e46cfdd 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TalkPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TalkPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TopicPropertiesEditionComponent.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TopicPropertiesEditionComponent.java index b581fd3f9..cafd9a4e8 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TopicPropertiesEditionComponent.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/components/TopicPropertiesEditionComponent.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferencePropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferencePropertiesEditionPart.java index 635367bf3..915ff3909 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferencePropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferencePropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferenceViewsRepository.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferenceViewsRepository.java index c76923069..9c3beb1e1 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferenceViewsRepository.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ConferenceViewsRepository.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/LocalisationPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/LocalisationPropertiesEditionPart.java index 5e492ad35..77aa41a6d 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/LocalisationPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/LocalisationPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ParticipantsPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ParticipantsPropertiesEditionPart.java index 3c71f2239..f653e17e1 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ParticipantsPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/ParticipantsPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PersonPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PersonPropertiesEditionPart.java index cb12f769e..d3952c811 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PersonPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PersonPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PresencePropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PresencePropertiesEditionPart.java index f90540e8a..7b0ab3d04 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PresencePropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/PresencePropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/RoomPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/RoomPropertiesEditionPart.java index 2ac0ccbed..8a24d814a 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/RoomPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/RoomPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/SitePropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/SitePropertiesEditionPart.java index d2a6c83f8..6aa658def 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/SitePropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/SitePropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalkPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalkPropertiesEditionPart.java index 7dc95bcb4..996d73868 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalkPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalkPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalksAndTopicsPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalksAndTopicsPropertiesEditionPart.java index 70f1fbbcc..0765b4e67 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalksAndTopicsPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TalksAndTopicsPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TopicPropertiesEditionPart.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TopicPropertiesEditionPart.java index 9b9acb8e5..961af93e9 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TopicPropertiesEditionPart.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/TopicPropertiesEditionPart.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ConferencePropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ConferencePropertiesEditionPartForm.java index db95dd8ca..36ba2c1ed 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ConferencePropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ConferencePropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -152,8 +152,33 @@ public class ConferencePropertiesEditionPartForm extends SectionPropertiesEditin @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConferencePropertiesEditionPartForm.this, ConferenceViewsRepository.Conference_.Properties.name, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + ConferencePropertiesEditionPartForm.this, + ConferenceViewsRepository.Conference_.Properties.name, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + ConferencePropertiesEditionPartForm.this, + ConferenceViewsRepository.Conference_.Properties.name, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + ConferencePropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); name.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/LocalisationPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/LocalisationPropertiesEditionPartForm.java index 3054d9f9b..f65ace87b 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/LocalisationPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/LocalisationPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -141,8 +141,33 @@ public class LocalisationPropertiesEditionPartForm extends SectionPropertiesEdit @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LocalisationPropertiesEditionPartForm.this, ConferenceViewsRepository.Localisation.place, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, place.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + LocalisationPropertiesEditionPartForm.this, + ConferenceViewsRepository.Localisation.place, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, place.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + LocalisationPropertiesEditionPartForm.this, + ConferenceViewsRepository.Localisation.place, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + LocalisationPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); place.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ParticipantsPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ParticipantsPropertiesEditionPartForm.java index 8088c05dc..b03eb55a1 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ParticipantsPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/ParticipantsPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PersonPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PersonPropertiesEditionPartForm.java index d9fbf1ca6..7b0258bde 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PersonPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PersonPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -187,8 +187,33 @@ public class PersonPropertiesEditionPartForm extends SectionPropertiesEditingPar @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(PersonPropertiesEditionPartForm.this, ConferenceViewsRepository.Person.Identity.firstname, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, firstname.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.firstname, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, firstname.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.firstname, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); firstname.addKeyListener(new KeyAdapter() { @@ -227,8 +252,33 @@ public class PersonPropertiesEditionPartForm extends SectionPropertiesEditingPar @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(PersonPropertiesEditionPartForm.this, ConferenceViewsRepository.Person.Identity.lastname, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, lastname.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.lastname, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, lastname.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.lastname, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); lastname.addKeyListener(new KeyAdapter() { @@ -267,8 +317,33 @@ public class PersonPropertiesEditionPartForm extends SectionPropertiesEditingPar @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(PersonPropertiesEditionPartForm.this, ConferenceViewsRepository.Person.Identity.age, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, age.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.age, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, age.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + ConferenceViewsRepository.Person.Identity.age, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + PersonPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); age.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PresencePropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PresencePropertiesEditionPartForm.java index 05de07050..8f956ad33 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PresencePropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/PresencePropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/RoomPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/RoomPropertiesEditionPartForm.java index e1a3c9030..20dd61e50 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/RoomPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/RoomPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -151,8 +151,33 @@ public class RoomPropertiesEditionPartForm extends SectionPropertiesEditingPart @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(RoomPropertiesEditionPartForm.this, ConferenceViewsRepository.Room.Properties.name, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + ConferenceViewsRepository.Room.Properties.name, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + ConferenceViewsRepository.Room.Properties.name, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); name.addKeyListener(new KeyAdapter() { @@ -191,8 +216,33 @@ public class RoomPropertiesEditionPartForm extends SectionPropertiesEditingPart @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(RoomPropertiesEditionPartForm.this, ConferenceViewsRepository.Room.Properties.capacity, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, capacity.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + ConferenceViewsRepository.Room.Properties.capacity, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, capacity.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + ConferenceViewsRepository.Room.Properties.capacity, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + RoomPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); capacity.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/SitePropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/SitePropertiesEditionPartForm.java index 0fda0138b..5eaba2f27 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/SitePropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/SitePropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -171,8 +171,33 @@ public class SitePropertiesEditionPartForm extends SectionPropertiesEditingPart @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(SitePropertiesEditionPartForm.this, ConferenceViewsRepository.Site.Properties.name, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + SitePropertiesEditionPartForm.this, + ConferenceViewsRepository.Site.Properties.name, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, name.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + SitePropertiesEditionPartForm.this, + ConferenceViewsRepository.Site.Properties.name, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + SitePropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); name.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalkPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalkPropertiesEditionPartForm.java index 5903370d5..e79c916bc 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalkPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalkPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -185,8 +185,33 @@ public class TalkPropertiesEditionPartForm extends SectionPropertiesEditingPart @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(TalkPropertiesEditionPartForm.this, ConferenceViewsRepository.Talk.Properties.title_, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, title_.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + TalkPropertiesEditionPartForm.this, + ConferenceViewsRepository.Talk.Properties.title_, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, title_.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + TalkPropertiesEditionPartForm.this, + ConferenceViewsRepository.Talk.Properties.title_, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + TalkPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); title_.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalksAndTopicsPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalksAndTopicsPropertiesEditionPartForm.java index 0e067359d..022b75485 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalksAndTopicsPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TalksAndTopicsPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TopicPropertiesEditionPartForm.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TopicPropertiesEditionPartForm.java index 14328f354..fa1b3e2f0 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TopicPropertiesEditionPartForm.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/forms/TopicPropertiesEditionPartForm.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -168,8 +168,33 @@ public class TopicPropertiesEditionPartForm extends SectionPropertiesEditingPart @Override @SuppressWarnings("synthetic-access") public void focusLost(FocusEvent e) { - if (propertiesEditionComponent != null) - propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(TopicPropertiesEditionPartForm.this, ConferenceViewsRepository.Topic.Properties.description, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, description.getText())); + if (propertiesEditionComponent != null) { + propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent( + TopicPropertiesEditionPartForm.this, + ConferenceViewsRepository.Topic.Properties.description, + PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, description.getText())); + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + TopicPropertiesEditionPartForm.this, + ConferenceViewsRepository.Topic.Properties.description, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_LOST, + null, null)); + } + } + + /** + * @see org.eclipse.swt.events.FocusAdapter#focusGained(org.eclipse.swt.events.FocusEvent) + */ + @Override + public void focusGained(FocusEvent e) { + if (propertiesEditionComponent != null) { + propertiesEditionComponent + .firePropertiesChanged(new PropertiesEditionEvent( + TopicPropertiesEditionPartForm.this, + null, + PropertiesEditionEvent.FOCUS_CHANGED, PropertiesEditionEvent.FOCUS_GAINED, + null, null)); + } } }); description.addKeyListener(new KeyAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ConferencePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ConferencePropertiesEditionPartImpl.java index f084443fa..44de82a1c 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ConferencePropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ConferencePropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -16,6 +16,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -127,7 +128,7 @@ public class ConferencePropertiesEditionPartImpl extends CompositePropertiesEdit protected Composite createNameText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Conference_.Properties.name, ConferenceMessages.ConferencePropertiesEditionPart_NameLabel); - name = new Text(parent, SWT.BORDER); + name = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData nameData = new GridData(GridData.FILL_HORIZONTAL); name.setLayoutData(nameData); name.addFocusListener(new FocusAdapter() { @@ -176,7 +177,7 @@ public class ConferencePropertiesEditionPartImpl extends CompositePropertiesEdit GridData overviewLabelData = new GridData(GridData.FILL_HORIZONTAL); overviewLabelData.horizontalSpan = 3; overviewLabel.setLayoutData(overviewLabelData); - overview = new Text(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); + overview = SWTUtil.createScrollableText(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); GridData overviewData = new GridData(GridData.FILL_HORIZONTAL); overviewData.horizontalSpan = 2; overviewData.heightHint = 80; diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/LocalisationPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/LocalisationPropertiesEditionPartImpl.java index 60a1bbc0a..6a4c54fed 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/LocalisationPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/LocalisationPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -21,6 +21,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -118,7 +119,7 @@ public class LocalisationPropertiesEditionPartImpl extends CompositePropertiesEd protected Composite createPlaceText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Localisation.place, ConferenceMessages.LocalisationPropertiesEditionPart_PlaceLabel); - place = new Text(parent, SWT.BORDER); + place = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData placeData = new GridData(GridData.FILL_HORIZONTAL); place.setLayoutData(placeData); place.addFocusListener(new FocusAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ParticipantsPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ParticipantsPropertiesEditionPartImpl.java index ff5c4df85..3d8889dc8 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ParticipantsPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/ParticipantsPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PersonPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PersonPropertiesEditionPartImpl.java index 27feee277..1c083344a 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PersonPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PersonPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -19,6 +19,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -162,7 +163,7 @@ public class PersonPropertiesEditionPartImpl extends CompositePropertiesEditionP protected Composite createFirstnameText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Person.Identity.firstname, ConferenceMessages.PersonPropertiesEditionPart_FirstnameLabel); - firstname = new Text(parent, SWT.BORDER); + firstname = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData firstnameData = new GridData(GridData.FILL_HORIZONTAL); firstname.setLayoutData(firstnameData); firstname.addFocusListener(new FocusAdapter() { @@ -208,7 +209,7 @@ public class PersonPropertiesEditionPartImpl extends CompositePropertiesEditionP protected Composite createLastnameText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Person.Identity.lastname, ConferenceMessages.PersonPropertiesEditionPart_LastnameLabel); - lastname = new Text(parent, SWT.BORDER); + lastname = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData lastnameData = new GridData(GridData.FILL_HORIZONTAL); lastname.setLayoutData(lastnameData); lastname.addFocusListener(new FocusAdapter() { @@ -254,7 +255,7 @@ public class PersonPropertiesEditionPartImpl extends CompositePropertiesEditionP protected Composite createAgeText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Person.Identity.age, ConferenceMessages.PersonPropertiesEditionPart_AgeLabel); - age = new Text(parent, SWT.BORDER); + age = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData ageData = new GridData(GridData.FILL_HORIZONTAL); age.setLayoutData(ageData); age.addFocusListener(new FocusAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PresencePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PresencePropertiesEditionPartImpl.java index db425c860..9ca7eca5f 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PresencePropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/PresencePropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/RoomPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/RoomPropertiesEditionPartImpl.java index 176f3dfc4..c5915fdf5 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/RoomPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/RoomPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -16,6 +16,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -126,7 +127,7 @@ public class RoomPropertiesEditionPartImpl extends CompositePropertiesEditionPar protected Composite createNameText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Room.Properties.name, ConferenceMessages.RoomPropertiesEditionPart_NameLabel); - name = new Text(parent, SWT.BORDER); + name = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData nameData = new GridData(GridData.FILL_HORIZONTAL); name.setLayoutData(nameData); name.addFocusListener(new FocusAdapter() { @@ -172,7 +173,7 @@ public class RoomPropertiesEditionPartImpl extends CompositePropertiesEditionPar protected Composite createCapacityText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Room.Properties.capacity, ConferenceMessages.RoomPropertiesEditionPart_CapacityLabel); - capacity = new Text(parent, SWT.BORDER); + capacity = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData capacityData = new GridData(GridData.FILL_HORIZONTAL); capacity.setLayoutData(capacityData); capacity.addFocusListener(new FocusAdapter() { diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/SitePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/SitePropertiesEditionPartImpl.java index cad0950fc..77d73e6bf 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/SitePropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/SitePropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -21,6 +21,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -146,7 +147,7 @@ public class SitePropertiesEditionPartImpl extends CompositePropertiesEditionPar protected Composite createNameText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Site.Properties.name, ConferenceMessages.SitePropertiesEditionPart_NameLabel); - name = new Text(parent, SWT.BORDER); + name = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData nameData = new GridData(GridData.FILL_HORIZONTAL); name.setLayoutData(nameData); name.addFocusListener(new FocusAdapter() { @@ -195,7 +196,7 @@ public class SitePropertiesEditionPartImpl extends CompositePropertiesEditionPar GridData documentationLabelData = new GridData(GridData.FILL_HORIZONTAL); documentationLabelData.horizontalSpan = 3; documentationLabel.setLayoutData(documentationLabelData); - documentation = new Text(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); + documentation = SWTUtil.createScrollableText(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); GridData documentationData = new GridData(GridData.FILL_HORIZONTAL); documentationData.horizontalSpan = 2; documentationData.heightHint = 80; diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalkPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalkPropertiesEditionPartImpl.java index f83c6940c..688198e69 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalkPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalkPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -20,6 +20,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -160,7 +161,7 @@ public class TalkPropertiesEditionPartImpl extends CompositePropertiesEditionPar protected Composite createTitle_Text(Composite parent) { createDescription(parent, ConferenceViewsRepository.Talk.Properties.title_, ConferenceMessages.TalkPropertiesEditionPart_Title_Label); - title_ = new Text(parent, SWT.BORDER); + title_ = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData title_Data = new GridData(GridData.FILL_HORIZONTAL); title_.setLayoutData(title_Data); title_.addFocusListener(new FocusAdapter() { @@ -305,7 +306,7 @@ public class TalkPropertiesEditionPartImpl extends CompositePropertiesEditionPar GridData documentationLabelData = new GridData(GridData.FILL_HORIZONTAL); documentationLabelData.horizontalSpan = 3; documentationLabel.setLayoutData(documentationLabelData); - documentation = new Text(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); + documentation = SWTUtil.createScrollableText(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); GridData documentationData = new GridData(GridData.FILL_HORIZONTAL); documentationData.horizontalSpan = 2; documentationData.heightHint = 80; diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalksAndTopicsPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalksAndTopicsPropertiesEditionPartImpl.java index 5c99cebf5..c397c0eca 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalksAndTopicsPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TalksAndTopicsPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TopicPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TopicPropertiesEditionPartImpl.java index ddfdb7d3a..2059ae2e2 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TopicPropertiesEditionPartImpl.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/parts/impl/TopicPropertiesEditionPartImpl.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ @@ -19,6 +19,7 @@ import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart; import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent; import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart; +import org.eclipse.emf.eef.runtime.impl.utils.SWTUtil; import org.eclipse.emf.eef.runtime.ui.parts.PartComposer; import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence; import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence; @@ -143,7 +144,7 @@ public class TopicPropertiesEditionPartImpl extends CompositePropertiesEditionPa protected Composite createDescriptionText(Composite parent) { createDescription(parent, ConferenceViewsRepository.Topic.Properties.description, ConferenceMessages.TopicPropertiesEditionPart_DescriptionLabel); - description = new Text(parent, SWT.BORDER); + description = SWTUtil.createScrollableText(parent, SWT.BORDER); GridData descriptionData = new GridData(GridData.FILL_HORIZONTAL); description.setLayoutData(descriptionData); description.addFocusListener(new FocusAdapter() { @@ -187,7 +188,7 @@ public class TopicPropertiesEditionPartImpl extends CompositePropertiesEditionPa } protected Composite createReferencesMultiValuedEditor(Composite parent) { - references = new Text(parent, SWT.BORDER | SWT.READ_ONLY); + references = SWTUtil.createScrollableText(parent, SWT.BORDER | SWT.READ_ONLY); GridData referencesData = new GridData(GridData.FILL_HORIZONTAL); referencesData.horizontalSpan = 2; references.setLayoutData(referencesData); @@ -232,7 +233,7 @@ public class TopicPropertiesEditionPartImpl extends CompositePropertiesEditionPa GridData documentationLabelData = new GridData(GridData.FILL_HORIZONTAL); documentationLabelData.horizontalSpan = 3; documentationLabel.setLayoutData(documentationLabelData); - documentation = new Text(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); + documentation = SWTUtil.createScrollableText(parent, SWT.BORDER | SWT.WRAP | SWT.MULTI | SWT.V_SCROLL); GridData documentationData = new GridData(GridData.FILL_HORIZONTAL); documentationData.horizontalSpan = 2; documentationData.heightHint = 80; diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceEEFAdapterFactory.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceEEFAdapterFactory.java index 198417d52..1a280f400 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceEEFAdapterFactory.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceEEFAdapterFactory.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceMessages.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceMessages.java index 362633f11..06f0da106 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceMessages.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferenceMessages.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionPartProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionPartProvider.java index 23b63f8ca..5c9256979 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionPartProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionPartProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionProvider.java index b8d0f897e..6daa7823b 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/ConferencePropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/PersonPropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/PersonPropertiesEditionProvider.java index 0f1bf1254..8968a555b 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/PersonPropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/PersonPropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/RoomPropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/RoomPropertiesEditionProvider.java index 0c2128603..6f501528f 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/RoomPropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/RoomPropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/SitePropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/SitePropertiesEditionProvider.java index 15e385a81..23c16dce8 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/SitePropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/SitePropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TalkPropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TalkPropertiesEditionProvider.java index 8e106fab3..bcb557b32 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TalkPropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TalkPropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TopicPropertiesEditionProvider.java b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TopicPropertiesEditionProvider.java index f7bd39aa2..31a20f360 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TopicPropertiesEditionProvider.java +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/TopicPropertiesEditionProvider.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2009 Obeo. + * Copyright (c) 2008, 2012 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages.properties b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages.properties index 0a9bd0820..735235b2d 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages.properties +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages.properties @@ -1,10 +1,10 @@ #***************************************************************************** -# Copyright (c) 2009 Obeo. +# Copyright (c) 2008, 2012 Obeo. # 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: # Obeo - initial API and implementation #******************************************************************************/ diff --git a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages_fr.properties b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages_fr.properties index 1f4f2548f..3cffffcfa 100644 --- a/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages_fr.properties +++ b/tests/org.eclipse.emf.examples.eef.edit/src-gen/org/eclipse/emf/samples/conference/providers/conferenceMessages_fr.properties @@ -1,10 +1,10 @@ #***************************************************************************** -# Copyright (c) 2009 Obeo. +# Copyright (c) 2008, 2012 Obeo. # 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: # Obeo - initial API and implementation #******************************************************************************/ |