Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java')
-rw-r--r--plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java b/plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java
index 8d5baef015..ed044ea886 100644
--- a/plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java
+++ b/plugins/org.eclipse.net4j.util.defs/src/org/eclipse/net4j/util/defs/impl/ChallengeNegotiatorDefImpl.java
@@ -96,8 +96,10 @@ public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements Cha
if (userManager != oldUserManager)
{
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER, oldUserManager, userManager));
+ }
}
}
return userManager;
@@ -123,8 +125,10 @@ public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements Cha
UserManagerDef oldUserManager = userManager;
userManager = newUserManager;
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.SET,
Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER, oldUserManager, userManager));
+ }
}
/**
@@ -141,8 +145,10 @@ public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements Cha
if (randomizer != oldRandomizer)
{
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER, oldRandomizer, randomizer));
+ }
}
}
return randomizer;
@@ -168,8 +174,10 @@ public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements Cha
RandomizerDef oldRandomizer = randomizer;
randomizer = newRandomizer;
if (eNotificationRequired())
+ {
eNotify(new ENotificationImpl(this, Notification.SET, Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER,
oldRandomizer, randomizer));
+ }
}
/**
@@ -184,11 +192,15 @@ public class ChallengeNegotiatorDefImpl extends NegotiatorDefImpl implements Cha
{
case Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__USER_MANAGER:
if (resolve)
+ {
return getUserManager();
+ }
return basicGetUserManager();
case Net4jUtilDefsPackage.CHALLENGE_NEGOTIATOR_DEF__RANDOMIZER:
if (resolve)
+ {
return getRandomizer();
+ }
return basicGetRandomizer();
}
return super.eGet(featureID, resolve, coreType);

Back to the top