Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8963591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:23:34+00:00 2026-06-15T16:23:34+00:00

I am trying to add a task ID column into Git History view. But

  • 0

I am trying to add a task ID column into Git History view. But get the following issue

History error
image link

if you see the image, the Last column(Task id) is overwriting on itself with an offset of one character. It looks like some thing to do with number of columns, as when i experimented by rearranging, the last column was always having the issue.

If anyone has any idea on this please let me know.

code added in CommitGraphTable class

private void createColumns(final Table rawTable, final TableLayout layout) {

...//existing code in the method
final TableColumn task = new TableColumn(rawTable, SWT.NONE);
task.setResizable(true);
task.setText(UIText.CommitGraphTable_TaskIdColumn);
// task.setWidth(50);
layout.addColumnData(new ColumnWeightData(5, 100, true));
}

Code added in CommitLabelProvider Class

public String getColumnText(final Object element, final int columnIndex) {

...//existing code in the method
if (columnIndex == 6){
    return (taskId);//$NON-NLS-1$
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:23:35+00:00Added an answer on June 15, 2026 at 4:23 pm

    There was a code i missed out to change. marked by XXX comment

    private void createPaintListener(final Table rawTable) {
        // Tell SWT we will completely handle painting for some columns.
        //
        rawTable.addListener(SWT.EraseItem, new Listener() {
            public void handleEvent(final Event event) {
                if (0 <= event.index && event.index <= 6)
                        //XXX changed the index comparison from 5 to 6
                    event.detail &= ~SWT.FOREGROUND;
            }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to add a class object into a List using reflection, but when invoking
I'm trying to programmatically add an Execute SQL task from within a script task
Im new to asp.net mvc. I'm trying add new model class but it got
Trying to add a blank sample app for a rails tutorial to GitHub, but
I'm trying to add a task to build the COM proxy DLL after building
I have a task - add round corners to HtmlPanelGrid. Now I am trying
I am trying to add an image to the UIBarButtonItem which I have to
I am trying to add a task dialog-style button control to my .NET application
I'm trying to add a new task to the Windows Tasks Scheduler with schtasks.exe
I'm trying to add support for completing a task after exiting the foreground for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.