diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java index 307353d322..4fa12f7045 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/ResourceCreationTaskImpl.java @@ -1,4 +1,12 @@ -/** +/* + * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.releng.setup.impl; @@ -134,8 +142,10 @@ public class ResourceCreationTaskImpl extends SetupTaskImpl implements ResourceC String oldContent = content; content = newContent; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.RESOURCE_CREATION_TASK__CONTENT, oldContent, content)); + } } /** @@ -158,8 +168,10 @@ public class ResourceCreationTaskImpl extends SetupTaskImpl implements ResourceC String oldTargetURL = targetURL; targetURL = newTargetURL; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.RESOURCE_CREATION_TASK__TARGET_URL, oldTargetURL, targetURL)); + } } /** @@ -182,8 +194,10 @@ public class ResourceCreationTaskImpl extends SetupTaskImpl implements ResourceC String oldEncoding = encoding; encoding = newEncoding; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.RESOURCE_CREATION_TASK__ENCODING, oldEncoding, encoding)); + } } /** @@ -281,7 +295,9 @@ public class ResourceCreationTaskImpl extends SetupTaskImpl implements ResourceC public String toString() { if (eIsProxy()) + { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (content: "); |