Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Adding new ruler to disassembly view

Hi Toni,

 

Its worked J. Thanks a lot…

 

I have searched long for such an extension point . I am wondering why this extension point is not mentioned even in the latest eclipse documentation:  http://help.eclipse.org/kepler/topic/org.eclipse.cdt.doc.isv/reference/extension-points/index.html?cp=13_1_1

 

 

Thanks and Regards,

Nipin

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Leherbauer, Anton (Toni)
Sent: Thursday, November 28, 2013 5:54 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Adding new ruler to disassembly view

 

Hi Nipin,

 

for the disassembly you should extend “org.eclipse.cdt.debug.ui.disassemblyRulerColumns”.

This extension point is very similar to the texeditor one, but you need to implement disassembly specific API.

 

HTH,

Toni

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Nipin P.
Sent: Thursday, November 28, 2013 10:23
To: CDT General developers list.
Subject: [cdt-dev] Adding new ruler to disassembly view

 

Hi All,

 

     Is it possible to add a new ruler to the disassembly view using the extension “org.eclipse.ui.workbench.texteditor.rulerColumns”?

 

  I am successful in adding a new ruler to the source editor(org.eclipse.cdt.ui.editor.CEditor) by the extension definition as below:

 

   <extension

         point="org.eclipse.ui.workbench.texteditor.rulerColumns">

      <column

            class="myPackage.MyRulerColumn"

            enabled="true"

            global="true"

            icon="icons/ruler.gif"

            id=" myPackage.column"

            includeInMenu="true"

            name="Code Coverage Ruler">

         <placement

               gravity="0.9">

         </placement>

         <targetEditor

               id="org.eclipse.cdt.dsf.ui.disassembly">

         </targetEditor>

         <targetEditor

               class="org.eclipse.cdt.debug.ui.disassemblyEditor">

         </targetEditor>

         <targetEditor

               id="org.eclipse.cdt.ui.editor.CEditor">

         </targetEditor>

      </column>

      </extension>

 

But I could not bring it to disassembly even if ‘<targetEditor></targetEditor>’ clause is pointed to disassembly editor.

Could you please tell me whether this the right way ?

 

Thanks and Regards,

Nipin

 

***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.

 
***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.

Back to the top