Skip to content

Commit

Permalink
502147: regenerated examples' code
Browse files Browse the repository at this point in the history
Change-Id: I9c2bab39f8461c0cad9476b65694a092803cd422
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=502147
  • Loading branch information
LorenzoBettini committed Oct 21, 2016
1 parent 4adb747 commit 76af9de
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Expand Up @@ -39,11 +39,9 @@ public Object image(final Folder it) {
String _switchResult = null;
String _name_1 = it.getName();
boolean _matched = false;
if (!_matched) {
if (Objects.equal(_name_1, "Inbox")) {
_matched=true;
_switchResult = "inbox.gif";
}
if (Objects.equal(_name_1, "Inbox")) {
_matched=true;
_switchResult = "inbox.gif";
}
if (!_matched) {
if (Objects.equal(_name_1, "Sent")) {
Expand Down
@@ -1,7 +1,7 @@
package org.eclipse.emf.parsley.examples.mail.messageview.binding;

import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.parsley.composite.FormControlFactory;
import org.eclipse.emf.parsley.util.DatabindingUtil;
import org.eclipse.jface.databinding.swt.ISWTObservableValue;
Expand All @@ -12,9 +12,10 @@

@SuppressWarnings("all")
public class MessageviewFormControlFactory extends FormControlFactory {
public Control control_Mail_message(final DataBindingContext dataBindingContext, final IObservableValue observableValue) {
public Control control_Mail_message(final IObservableValue observableValue, final EStructuralFeature feature) {
Control control = createControl_Mail_message();
dataBindingContext.bindValue(
bindValue(
feature,
createTarget_Mail_message(control),
observableValue);
return control;
Expand Down
@@ -1,16 +1,17 @@
package org.eclipse.emf.parsley.examples.maven.binding;

import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.parsley.composite.DialogControlFactory;
import org.eclipse.emf.parsley.util.DatabindingUtil;
import org.eclipse.swt.widgets.Control;

@SuppressWarnings("all")
public class MavenDialogControlFactory extends DialogControlFactory {
public Control control_EClass_name(final DataBindingContext dataBindingContext, final IObservableValue observableValue) {
public Control control_EClass_name(final IObservableValue observableValue, final EStructuralFeature feature) {
Control control = createControl_EClass_name();
dataBindingContext.bindValue(
bindValue(
feature,
createTarget_EClass_name(control),
observableValue);
return control;
Expand Down

0 comments on commit 76af9de

Please sign in to comment.