Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Noyrit2016-04-18 04:23:09 -0400
committerGerrit Code Review @ Eclipse.org2016-04-19 09:10:07 -0400
commit74277e4e464813a72120e2f3e1c320eca04a51f2 (patch)
tree3a71f39f7d7a1c0dad7d8de281f7cb9d7fd531f2 /plugins/infra/newchild
parent4ea6b237f5db0dc206ce1f239c9bd93d38126aa5 (diff)
downloadorg.eclipse.papyrus-74277e4e464813a72120e2f3e1c320eca04a51f2.tar.gz
org.eclipse.papyrus-74277e4e464813a72120e2f3e1c320eca04a51f2.tar.xz
org.eclipse.papyrus-74277e4e464813a72120e2f3e1c320eca04a51f2.zip
Bug 491883 - Remove the ExtendedTypes framework
Diffstat (limited to 'plugins/infra/newchild')
-rw-r--r--plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/src/org/eclipse/papyrus/infra/newchild/CreationMenuFactory.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/src/org/eclipse/papyrus/infra/newchild/CreationMenuFactory.java b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/src/org/eclipse/papyrus/infra/newchild/CreationMenuFactory.java
index ae2fda9fa0a..27319305937 100644
--- a/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/src/org/eclipse/papyrus/infra/newchild/CreationMenuFactory.java
+++ b/plugins/infra/newchild/org.eclipse.papyrus.infra.newchild/src/org/eclipse/papyrus/infra/newchild/CreationMenuFactory.java
@@ -344,12 +344,12 @@ public class CreationMenuFactory {
/**
* get the IelementType from a string
*
- * @param extendedType
+ * @param elementType
* the string that represents the element type
* @return the element type or null
*/
- protected IElementType getElementType(String extendedType) {
- return ElementTypeRegistry.getInstance().getType(extendedType);
+ protected IElementType getElementType(String elementType) {
+ return ElementTypeRegistry.getInstance().getType(elementType);
}
/**
@@ -359,8 +359,8 @@ public class CreationMenuFactory {
* the role of the element that will be created (maybe null)
* @param container
* the container of the created elements
- * @param extendedType
- * the extended type of the created element
+ * @param adviceCache
+ *
* @return a command that can be executed by the domain
*/
protected Command buildCommand(EReference reference, EObject container, CreationMenu creationMenu, Map<?, ?> adviceCache) {
@@ -445,14 +445,12 @@ public class CreationMenuFactory {
* Creates a dialog for selecting the target element
*
* @param eobject
- * @param reference
- * @param extendedType
* @param provider
+ * @param ted
+ * @param reference
* @param container
- * @param possibleTargets
- * @param directedRelationship
- *
- * @return the dialog
+ * @param et
+ * @return
*/
protected TreeSelectorDialog getTargetTreeSelectorDialog(EObject eobject, final IElementEditService provider,
final TransactionalEditingDomain ted,

Back to the top