Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-06-10 11:56:09 +0000
committerEike Stepper2012-06-10 11:56:09 +0000
commitd694c1a1eacca90a4789bdae228c979bad8250dc (patch)
treebde6b42f4f199bce5b41527cb54184ba7ed47931 /plugins/org.eclipse.emf.cdo.security.edit/src
parentdf6fed9b304081a943db6c3ed20e376d5f890548 (diff)
downloadcdo-d694c1a1eacca90a4789bdae228c979bad8250dc.tar.gz
cdo-d694c1a1eacca90a4789bdae228c979bad8250dc.tar.xz
cdo-d694c1a1eacca90a4789bdae228c979bad8250dc.zip
[381472] Design a repository administration API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381472
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.security.edit/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.security.edit/src/org/eclipse/emf/cdo/security/provider/UserItemProvider.java24
1 files changed, 19 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.security.edit/src/org/eclipse/emf/cdo/security/provider/UserItemProvider.java b/plugins/org.eclipse.emf.cdo.security.edit/src/org/eclipse/emf/cdo/security/provider/UserItemProvider.java
index 349a508a8d..dc0ae34f19 100644
--- a/plugins/org.eclipse.emf.cdo.security.edit/src/org/eclipse/emf/cdo/security/provider/UserItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.security.edit/src/org/eclipse/emf/cdo/security/provider/UserItemProvider.java
@@ -69,13 +69,13 @@ public class UserItemProvider extends AssigneeItemProvider implements IEditingDo
{
super.getPropertyDescriptors(object);
+ addGroupsPropertyDescriptor(object);
addLabelPropertyDescriptor(object);
addFirstNamePropertyDescriptor(object);
addLastNamePropertyDescriptor(object);
addEmailPropertyDescriptor(object);
addDefaultPermissionOverridePropertyDescriptor(object);
addLockedPropertyDescriptor(object);
- addGroupsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -201,12 +201,10 @@ public class UserItemProvider extends AssigneeItemProvider implements IEditingDo
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- @Override
- public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object)
+ public Collection<? extends EStructuralFeature> getChildrenFeaturesGen(Object object)
{
if (childrenFeatures == null)
{
@@ -217,6 +215,22 @@ public class UserItemProvider extends AssigneeItemProvider implements IEditingDo
}
/**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object)
+ {
+ Collection<? extends EStructuralFeature> childrenFeatures = getChildrenFeaturesGen(object);
+ childrenFeatures.remove(SecurityPackage.Literals.USER__PASSWORD);
+ return childrenFeatures;
+ }
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated

Back to the top