diff options
author | Samantha Chan | 2008-12-04 21:58:05 +0000 |
---|---|---|
committer | Samantha Chan | 2008-12-04 21:58:05 +0000 |
commit | fbd8efad4f63abf2721c31333f2896d41667cf2a (patch) | |
tree | d03abd28352d2130f7c472c163dd266035f37577 /org.eclipse.debug.ui | |
parent | 6082450f96ccffad4f744725a79706086e00da0f (diff) | |
download | eclipse.platform.debug-fbd8efad4f63abf2721c31333f2896d41667cf2a.tar.gz eclipse.platform.debug-fbd8efad4f63abf2721c31333f2896d41667cf2a.tar.xz eclipse.platform.debug-fbd8efad4f63abf2721c31333f2896d41667cf2a.zip |
Bug 240330 - [Memory View] Items per row should not be limited to 16
Diffstat (limited to 'org.eclipse.debug.ui')
3 files changed, 13 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTableRendering.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTableRendering.java index 277e13e40..85324c25a 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTableRendering.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTableRendering.java @@ -1460,8 +1460,8 @@ public abstract class AbstractAsyncTableRendering extends AbstractBaseTableRende /** * Format view tab based on the bytes per line and column. * - * @param bytesPerLine - number of bytes per line, possible values: (1 / 2 / 4 / 8 / 16) * addressableSize - * @param columnSize - number of bytes per column, possible values: (1 / 2 / 4 / 8 / 16) * addressableSize + * @param bytesPerLine - number of bytes per line, possible values: (1 / 2 / 4 / 8 / 16 / 32 / 64/ 128) * addressableSize + * @param columnSize - number of bytes per column, possible values: (1 / 2 / 4 / 8 / 16 / 32/ 64 / 128) * addressableSize * @return true if format is successful, false, otherwise */ public boolean format(int bytesPerLine, int columnSize) diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingDialog.java index 5384f88fe..2f467fc01 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. + * Copyright (c) 2005, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * QNX - Alena Laskavaia Bug 240330 - [Memory View] Items per row should not be limited to 16 *******************************************************************************/ package org.eclipse.debug.internal.ui.views.memory.renderings; @@ -43,8 +44,12 @@ import org.eclipse.ui.part.PageBook; public class FormatTableRenderingDialog extends TrayDialog { - private int[] fColumnSizes = new int[] {1, 2, 4, 8, 16}; - private int[] fRowSizes = new int[] {1, 2, 4, 8, 16}; + // possible number of addressable units per column + private int[] fColumnSizes = new int[] {1, 2, 4, 8, 16, 32, 64, 128}; + + // possible number of addressable units per column + private int[] fRowSizes = new int[] {1, 2, 4, 8, 16, 32, 64, 128}; + private Combo fColumnControl; private Combo fRowControl; diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTableRendering.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTableRendering.java index fcaea68a4..9d478104f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTableRendering.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTableRendering.java @@ -1369,9 +1369,10 @@ public abstract class AbstractTableRendering extends AbstractBaseTableRendering /** * Format view tab based on the bytes per line and column. * - * @param bytesPerLine - number of bytes per line, possible values: (1 / 2 / 4 / 8 / 16) * addressableSize - * @param columnSize - number of bytes per column, possible values: (1 / 2 / 4 / 8 / 16) * addressableSize + * @param bytesPerLine - number of bytes per line, possible values: (1 / 2 / 4 / 8 / 16 / 32 / 64 / 128) * addressableSize + * @param columnSize - number of bytes per column, possible values: (1 / 2 / 4 / 8 / 16 / 32 / 64 / 128) * addressableSize * @return true if format is successful, false, otherwise + * */ public boolean format(int bytesPerLine, int columnSize) { |