Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Parker2013-06-19 14:54:50 -0400
committerMiles Parker2013-06-20 18:11:06 -0400
commitb7e2cbb3eca6ab6af3010c707085177e21778df8 (patch)
tree847ac90b477fa50fe2630cfc748633fc9040f8ac /org.eclipse.mylyn.reviews.edit
parent41226481fc48636d8511af75b88f6efc02140c80 (diff)
downloadorg.eclipse.mylyn.reviews-b7e2cbb3eca6ab6af3010c707085177e21778df8.tar.gz
org.eclipse.mylyn.reviews-b7e2cbb3eca6ab6af3010c707085177e21778df8.tar.xz
org.eclipse.mylyn.reviews-b7e2cbb3eca6ab6af3010c707085177e21778df8.zip
410673: [model] Add support for IDE/repository user
Change-Id: I2cf0573672f30a35288034c26ed619489957ea67 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=410673
Diffstat (limited to 'org.eclipse.mylyn.reviews.edit')
-rw-r--r--org.eclipse.mylyn.reviews.edit/plugin.properties1
-rw-r--r--org.eclipse.mylyn.reviews.edit/src/org/eclipse/mylyn/reviews/edit/provider/RepositoryItemProvider.java15
2 files changed, 16 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.reviews.edit/plugin.properties b/org.eclipse.mylyn.reviews.edit/plugin.properties
index 1f82617f..c8da9cbf 100644
--- a/org.eclipse.mylyn.reviews.edit/plugin.properties
+++ b/org.eclipse.mylyn.reviews.edit/plugin.properties
@@ -138,3 +138,4 @@ _UI_ReviewStatus_Submitted_literal = SUBMITTED
_UI_ReviewStatus_Merged_literal = MERGED
_UI_ReviewStatus_Abandoned_literal = ABANDONED
_UI_ReviewStatus_Draft_literal = DRAFT
+_UI_Repository_account_feature = Account
diff --git a/org.eclipse.mylyn.reviews.edit/src/org/eclipse/mylyn/reviews/edit/provider/RepositoryItemProvider.java b/org.eclipse.mylyn.reviews.edit/src/org/eclipse/mylyn/reviews/edit/provider/RepositoryItemProvider.java
index b0497feb..9b487e40 100644
--- a/org.eclipse.mylyn.reviews.edit/src/org/eclipse/mylyn/reviews/edit/provider/RepositoryItemProvider.java
+++ b/org.eclipse.mylyn.reviews.edit/src/org/eclipse/mylyn/reviews/edit/provider/RepositoryItemProvider.java
@@ -65,6 +65,7 @@ public class RepositoryItemProvider extends ItemProviderAdapter implements IEdit
addTaskRepositoryUrlPropertyDescriptor(object);
addTaskConnectorKindPropertyDescriptor(object);
addTaskRepositoryPropertyDescriptor(object);
+ addAccountPropertyDescriptor(object);
addDescriptionPropertyDescriptor(object);
}
return itemPropertyDescriptors;
@@ -121,6 +122,20 @@ public class RepositoryItemProvider extends ItemProviderAdapter implements IEdit
}
/**
+ * This adds a property descriptor for the Account feature. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected void addAccountPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Repository_account_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_Repository_account_feature", "_UI_Repository_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ ReviewsPackage.Literals.REPOSITORY__ACCOUNT, true, false, true, null, null, null));
+ }
+
+ /**
* This adds a property descriptor for the Description feature. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated

Back to the top