[platform-dev] Question regarding the "plugin://" and bundleentry:// URL format

2018-04-10 Thread Becker, Matthias
Dear platform experts,

in https://bugs.eclipse.org/bugs/show_bug.cgi?id=532695 I try to implement a 
mechanism in JFace’s ImageDescriptors to replace icons based on the currently 
active theme.
For this I need your help.

Image files are access in JFace’s Image descriptors either:
1) Via location and filename
2) Via URL

For 1):
ImageDescriptor createFromFile(Class location, String filename)
  Exmaple: 
   location: class org.eclipse.jface.fieldassist.FieldDecorationRegistry
   filename: images/contassist_ovr.png

For 2(
ImageDescriptor createFromURL(URL url)
  Example: bundleentry://1128.fwk934223763/eclipse16.png

But I would like to register replacements based the 
plugin://bundle-symbolic-name/path_to_icon" format.

Is there a way to transform the IamgeDescriptor’s input to the 
"plugin://bundle-symbolic-name/path_to_icon" format
and vise-versa?

Regards,
Matthias
 
Matthias Becker
Development, PI Tech Core ABAP Server (SE)
SAP SE, Dietmar-Hopp-Allee 16, 69190 Walldorf, Germany

Pflichtangaben/Mandatory Disclosure Statement:
http://www.sap.com/company/legal/impressum.epx/
 
Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige 
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich 
erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung 
oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie 
uns und vernichten Sie die empfangene E-Mail. Vielen Dank.
 
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise 
confidential information. If you have received this e-mail in error, you are 
hereby notified that any review, copying, or distribution of it is strictly 
prohibited. Please inform us immediately and destroy the original transmittal. 
Thank you for your cooperation.

___
platform-dev mailing list
platform-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-dev

[platform-dev] Committer Election for Wim Jongman on Eclipse Platform has started

2018-04-10 Thread emo

A committer election for Wim Jongman on project Eclipse Platform
(eclipse.platform) was started by Lars Vogel with this criteria:

Wim works intensively on providing a tip of the day framework. He is also the
Nebula project lead and keeps this project moving.

Also Wim, has an impressive list of contribution, see below. Please join me
in welcoming Wim.

vogella@spike:~/git/eclipse.platform.ua$ git shortlog --author "wim"
Wim Jongman (8):
   Bug 307889 - [Intro] having "tip of the day" functionality
   Bug 531842 - Compile warning in I20180228-2000
   Bug 531786 - [Tips] Add Json provider
   531983: [Tips] Use Dialog instead of Shell
   Bug 532293 matrixrain/index.html has lots of issues
   Bug 531863: [Tips] Unit tests
   Bug 531792: [Tips] API cleanup
   Bug 531792: [Tips] API cleanup

vogella@spike:~/git/eclipse.platform.ui.tools$ git shortlog --author "wim"
Wim Jongman (49):
   Bug 390237 - [patch] Model Editor Layout Change
   Bug 390237-Model Editor Layout Change
   Improve layout for the Window Trim editor
   Improves layout for Windows editor
   Bug 391604 - Application model editor is opened after project
generation
   Bug 393150 - Deleting a plug-in project will not close the
Application.e4xmi
   Bug 393144 - E4 Application wizard does not include all
artifacts in build.properties
   Bug 393150 - Application model editor does not register a
resource listener in live mode
   bug 391086: Search the model editor tree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391086 The FilteredTree,
PatternFilter and BasicUIJob are already copied in
org.eclipse.e4.ui.workbench.swt *.internal.copy package so instead I
now depend on this bundle.
   Search the model editor tree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391086 Removed a
lingering sysout
   bug 391086: Search the model editor tree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391086 The include
leading wildcard for the PatternFilter was lost. Now I add the leading
wildcard on instantiation of the PatternFilter.
   Bug 395111: Option to expand the application model tree The
application model tree nodes will be totally collapsed/expanded to the
bottom if you open it while the MOD1 (CTRL) is pressed.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395111
   Created new component ViewerElement bug 391335: Fragment Editor
layout changes https://bugs.eclipse.org/bugs/show_bug.cgi?id=391335
   fixed the layout problems of the Fragment editor with the new
ViewerElement class which is re-used in the VModelImportsEditor
396001: Fragment Editor layout changes Main:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=396001 Related:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391335
   Added back the ShadowComposite Made the tree not full-selection
to be in line with eclipse bug 391086: Search the model editor tree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391086
   Added refactoring support for package, folder and file change.
Added reload of model editor after refactoring. bug 395174: e4xmi
should participate in package renaming
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
   Undo model reload after change. This caused the tree to collapse
when save was pressed in the model editor. bug 396159: CTRL+S closes
the model tree https://bugs.eclipse.org/bugs/show_bug.cgi?id=396159
   Let the resource change listener know that she herself caused
the resource change. This is solved by setting a flag in doSave. If
the flag is set during the resource change then the model will not be
reloaded which is good.
   Renamed ClassRenameParticipant to RenameParticipant. It is not
only there for renaming classes. bug 395174: Provide refactoring
support for e4xmi files
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
   bug 396717: NPE in PatternFilter
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
   bug 396694: Disabled the FilteredTree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
   bug 395174: Added support for moving files
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
   Fixed expand/collapse menu REOPENED - bug 395111: Option to
expand the application model tree
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395111
   bug 400804: Implemented various table layouts.
   bug 400804: Additional make-up for the model editor
   Merge remote-tracking branch 'origin/master'
   bug 402875: Added support for command categories and commands
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402875
   bug 402875: Removed dependency to pde
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402875
   bug 402875: Livemodel test fix
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402875
   bug 402875: added support for views, perspectives and handlers
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402875
   Bug 403618 - Tooling does not compile against M6
https://bugs.eclipse.org/bugs/show_bug.cgi?id=403618