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 192687 Details for
Bug 338750
Add support for cut/copy/paste between different aggregation models
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed patch
338750.patch (text/plain), 1.33 KB, created by
Kenn Hussey
on 2011-04-06 22:09:25 EDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Kenn Hussey
Created:
2011-04-06 22:09:25 EDT
Size:
1.33 KB
patch
obsolete
>Index: src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java >=================================================================== >--- src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java (revision 1447) >+++ src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java (working copy) >@@ -320,6 +320,8 @@ > > public static final String AGGREGATOR_NONPERSISTENT_PROBLEM_MARKER = "org.eclipse.b3.aggregator.editor.diagnostic.nonpersistent"; > >+ protected static Collection<Object> CLIPBOARD = null; >+ > /** > * This looks up a string in the plugin's plugin.properties file. > * <!-- begin-user-doc --> <!-- end-user-doc --> >@@ -2103,16 +2105,27 @@ > } > }); > >- // Create the editing domain with a special command stack. >+ // Create the editing domain with a special command stack and a shared clipboard. > // > editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new HashMap<Resource, Boolean>()) { > @Override >+ public Collection<Object> getClipboard() { >+ return CLIPBOARD; >+ } >+ >+ @Override > public boolean isReadOnly(Resource resource) { > if(resource instanceof MetadataRepositoryResourceImpl) > return true; > > return super.isReadOnly(resource); > } >+ >+ @Override >+ public void setClipboard(Collection<Object> clipboard) { >+ CLIPBOARD = clipboard; >+ } >+ > }; > } >
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 338750
: 192687