11/*******************************************************************************
2- * Copyright (c) 2011, 2025 Google, Inc. and others.
2+ * Copyright (c) 2011, 2026 Google, Inc. and others.
33 *
44 * This program and the accompanying materials are made available under the
55 * terms of the Eclipse Public License 2.0 which is available at
@@ -60,10 +60,10 @@ public MatchingEditPartFactory(List<String> modelPackages, List<String> partPack
6060 //
6161 ////////////////////////////////////////////////////////////////////////////
6262 @ Override
63- public org . eclipse . wb . gef . core . EditPart createEditPart (EditPart context , Object model ) {
63+ public EditPart createEditPart (EditPart context , Object model ) {
6464 Class <?> modelClass = model .getClass ();
6565 for (; modelClass != null ; modelClass = modelClass .getSuperclass ()) {
66- org . eclipse . wb . gef . core . EditPart editPart = createEditPart (model , modelClass );
66+ EditPart editPart = createEditPart (model , modelClass );
6767 if (editPart != null ) {
6868 return editPart ;
6969 }
@@ -86,17 +86,17 @@ public org.eclipse.wb.gef.core.EditPart createEditPart(EditPart context, Object
8686 * @return the {@link EditPart} corresponding to <code>modelClass</code>, may be <code>null</code>
8787 * , if no match found.
8888 */
89- private org . eclipse . wb . gef . core . EditPart createEditPart (Object model , Class <?> modelClass ) {
89+ private EditPart createEditPart (Object model , Class <?> modelClass ) {
9090 // "Info" suffix
9191 {
92- org . eclipse . wb . gef . core . EditPart editPart = createEditPart (model , modelClass , "Info" );
92+ EditPart editPart = createEditPart (model , modelClass , "Info" );
9393 if (editPart != null ) {
9494 return editPart ;
9595 }
9696 }
9797 // no suffix
9898 {
99- org . eclipse . wb . gef . core . EditPart editPart = createEditPart (model , modelClass , "" );
99+ EditPart editPart = createEditPart (model , modelClass , "" );
100100 if (editPart != null ) {
101101 return editPart ;
102102 }
@@ -107,7 +107,7 @@ private org.eclipse.wb.gef.core.EditPart createEditPart(Object model, Class<?> m
107107 if (modelClassName .contains ("$" )) {
108108 modelClassName = StringUtils .remove (modelClassName , "Info" );
109109 modelClassName = StringUtils .remove (modelClassName , "$" );
110- org . eclipse . wb . gef . core . EditPart editPart = createEditPart (model , modelClass , modelClassName , "" );
110+ EditPart editPart = createEditPart (model , modelClass , modelClassName , "" );
111111 if (editPart != null ) {
112112 return editPart ;
113113 }
@@ -120,15 +120,15 @@ private org.eclipse.wb.gef.core.EditPart createEditPart(Object model, Class<?> m
120120 /**
121121 * Implementation for {@link #createEditPart(Object, Class)}, with single model suffix.
122122 */
123- private org . eclipse . wb . gef . core . EditPart createEditPart (Object model , Class <?> modelClass , String modelSuffix ) {
123+ private EditPart createEditPart (Object model , Class <?> modelClass , String modelSuffix ) {
124124 String modelClassName = modelClass .getName ();
125125 return createEditPart (model , modelClass , modelClassName , modelSuffix );
126126 }
127127
128128 /**
129129 * Implementation for {@link #createEditPart(Object, Class)}, with single model suffix.
130130 */
131- private org . eclipse . wb . gef . core . EditPart createEditPart (Object model ,
131+ private EditPart createEditPart (Object model ,
132132 Class <?> modelClass ,
133133 String modelClassName ,
134134 String modelSuffix ) {
@@ -144,7 +144,7 @@ private org.eclipse.wb.gef.core.EditPart createEditPart(Object model,
144144 // create corresponding EditPart, use "EditPart" prefix
145145 {
146146 String partClassName = partPackage + componentName + "EditPart" ;
147- org . eclipse . wb . gef . core . EditPart editPart = createEditPart0 (model , modelClass , partClassName );
147+ EditPart editPart = createEditPart0 (model , modelClass , partClassName );
148148 if (editPart != null ) {
149149 return editPart ;
150150 }
@@ -155,14 +155,14 @@ private org.eclipse.wb.gef.core.EditPart createEditPart(Object model,
155155 return null ;
156156 }
157157
158- private static org . eclipse . wb . gef . core . EditPart createEditPart0 (Object model , Class <?> modelClass , String partClassName ) {
158+ private static EditPart createEditPart0 (Object model , Class <?> modelClass , String partClassName ) {
159159 try {
160160 ClassLoader classLoader = modelClass .getClassLoader ();
161161 Class <?> partClass = classLoader .loadClass (partClassName );
162162 // try all constructors
163163 for (Constructor <?> constructor : partClass .getConstructors ()) {
164164 try {
165- return (org . eclipse . wb . gef . core . EditPart ) constructor .newInstance (model );
165+ return (EditPart ) constructor .newInstance (model );
166166 } catch (Throwable e ) {
167167 // ignore
168168 }
0 commit comments