Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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.

Back to the top