[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] TSC and staging files
|
Peter,
You have to create an Eclipse plugin that contains the SWT code that draws the widgets and responds to events. This is then hooked in to the XML using <widget type=“custom” typeId=“…”/> in your target configuration XML. There is an example of how to do this in the org.eclipse.ptp.rm.ibm.platform.lsf.ui plugin. Let me know if you have any questions.
Greg
> On Mar 7, 2016, at 8:09 PM, Peter Bryzgalov <pyotr777@xxxxxx> wrote:
>
> Just a short message to clarify my question.
> Is there an API or workflow for creating custom widgets, or you have to edit Eclipse source code, change XML schema etc.?
>
> Regards,
> Peter
>
>> On 4 Mar, 2016, at 19:20, Peter Bryzgalov <pyotr777@xxxxxx> wrote:
>>
>> Hi Greg,
>>
>> Thank you for your kind advice.
>> Are there any documentation on implementing custom widgets with SWT?
>>
>> Regards,
>> Peter
>>
>>> Hi Peter,
>>>
>>> There?s a viewer that might do what you want. See the openmpi-generic-interactive.xml configuration for an example (there may be others as well).
>>>
>>> Otherwise, for the more complicated widgets I generally use a custom widget and implement the code directly using SWT. That gives a lot of flexibility as to what you can do.
>>>
>>> Regards,
>>> Greg
>>
>>
>> _______________________________________________
>> ptp-dev mailing list
>> ptp-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ptp-dev