Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 501508
Collapse All | Expand All

(-)a/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editparts/GraphicalEditPart.java (-6 / +2 lines)
Lines 1151-1160 public abstract class GraphicalEditPart Link Here
1151
                EObject semanticElement = resolveSemanticElement();
1151
                EObject semanticElement = resolveSemanticElement();
1152
            
1152
            
1153
                if( semanticElement != null ) {
1153
                if( semanticElement != null ) {
1154
                    String name = semanticElement.getClass().getName();
1154
                    return semanticElement.eClass().getName();
1155
                    int startIndex = name.lastIndexOf('.') + 1;
1156
                    int endIndex = name.lastIndexOf( "Impl" ); //$NON-NLS-1$
1157
                    return name.substring(startIndex, endIndex);
1158
                }
1155
                }
1159
            
1156
            
1160
                return null;
1157
                return null;
Lines 1713-1716 public abstract class GraphicalEditPart Link Here
1713
		return getFlag(FLAG__AUTO_CONNECTIONS_VISIBILITY);
1710
		return getFlag(FLAG__AUTO_CONNECTIONS_VISIBILITY);
1714
	}
1711
	}
1715
1712
1716
}
1713
}
1717
- 

Return to bug 501508