You are correct. The iSphere RSE Plugin, which is part of the iSphere
project, provides decorators for i Projects and RSE objects.
The decorator class must inherit from
"org.eclipse.jface.viewers.ILightweightLabelDecorator" and is registered
in plugin.xml like this:
<!--
==========================================
iSphere RSE Decorator
==========================================
-->
<extension point="org.eclipse.ui.decorators">
<decorator
adaptable="false"
class="biz.isphere.rse.decorators.RSEHostObjectDecorator"
id="biz.isphere.rse.decorators.RSEHostObjectDecorator"
label="%iSphere_Object_and_Source_Decorator_Label"
lightweight="true"
state="false">
<description>
%iSphere_Object_and_Source_Decorator_Description
</description>
<enablement>
<objectClass
name="com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectBrief">
</objectClass>
</enablement>
</decorator>
</extension>
Method "decorate(Object object, IDecoration decoration)" is called when
something must be decorated. "object" is the resource that is decorated
and "decoration" is the current decoration. "decoration" has various
methods for changing the decoration.
A complete decoration Eclipse project should have:
* One or more plug-in projects with the actual source code
* A feature project that gathers the plug-in projects
* An update site project for installing the plug-in
For example:
* "My Decoration Plugin"
* "My Decoration Feature"
* "My Decoration Project Update Site"
An important utility for developing Eclipse plug-ins is "Plug-in Spy",
which is available at:
http://jmini.github.io/blog/2016/2016-09-16_eclipse_plugin_spy.html
I strongly recommend installing that plug-in when you want to develop
your own plug-ins.
Regards,
Thomas.
Am 29.03.2019 um 17:53 schrieb Vernon Hamberg:
Hi Art
I believe that Thomas has iSphere as an open source project - on
SourceForge, maybe - I suspect that is a good place to start.
Cheers
Vern
On 3/29/2019 10:27 AM, Art Tostaine, Jr. wrote:
Where can I find info on customizing the ishpere compile commands insert.
I want to add a small banner that shows the member description, and if
possible user is that created it and date and time.
Thank you
As an Amazon Associate we earn from qualifying purchases.