Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 167461 Details for
Bug 312025
multiple editor instance created on test element opening
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
312025.txt (text/plain), 1.96 KB, created by
Bozier jerome
on 2010-05-07 08:53:13 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Bozier jerome
Created:
2010-05-07 08:53:13 EDT
Size:
1.96 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.common.ui >Index: src-common-internal/org/eclipse/hyades/ui/internal/extension/AssociationDescriptor.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.common.ui/src-common-internal/org/eclipse/hyades/ui/internal/extension/AssociationDescriptor.java,v >retrieving revision 1.3 >diff -u -r1.3 AssociationDescriptor.java >--- src-common-internal/org/eclipse/hyades/ui/internal/extension/AssociationDescriptor.java 24 Jan 2008 02:29:08 -0000 1.3 >+++ src-common-internal/org/eclipse/hyades/ui/internal/extension/AssociationDescriptor.java 7 May 2010 12:50:21 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2005, 2008 IBM Corporation and others. >+ * Copyright (c) 2005, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -32,7 +32,9 @@ > * interface. > * > * @author marcelop >+ * @author Jerome Bozier > * @since 0.0.1 >+ * @version May 7, 2010 > */ > public class AssociationDescriptor > implements IAssociationDescriptor, Serializable >@@ -232,7 +234,26 @@ > */ > public Object createImplementationClassInstance() > { >- Class cls = getImplementationClass(); >+ Object instance = null; >+ if((extensionClass == null) && (configurationElement != null)) >+ { >+ if(getValue(configurationElement, "class") != null) >+ { >+ try >+ { >+ instance = configurationElement.createExecutableExtension("class"); >+ extensionClass = instance.getClass(); >+ } >+ catch (Exception e) >+ { >+ CommonPlugin.logError(e); >+ } >+ } >+ } >+ if (instance != null) { >+ return instance; >+ } >+ Class cls = extensionClass; > if(cls != null) > { > try
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 312025
:
167461
|
167480