add type for TransactionTreeNode
This commit is contained in:
parent
2e806f7b86
commit
f474e38687
@ -137,7 +137,6 @@ public class TransactionDetails {
|
||||
|
||||
treeViewer = new TreeViewer(top);
|
||||
treeViewer.setContentProvider(new AbstractTransactionTreeContentProvider(waveformViewerPart) {
|
||||
|
||||
@Override
|
||||
public Object[] getElements(Object element) {
|
||||
return new Object[]{
|
||||
|
@ -43,6 +43,7 @@ public class TransactionTreeNode implements Comparable<TransactionTreeNode>{
|
||||
*/
|
||||
public String toString(){
|
||||
switch(type){
|
||||
case TX: return element.toString();
|
||||
case PROPS: return Messages.TransactionDetails_10;
|
||||
case ATTRS: return Messages.TransactionDetails_11;
|
||||
case IN_REL: return Messages.TransactionDetails_12;
|
||||
|
@ -4,6 +4,7 @@ package com.minres.scviewer.e4.application.parts.txTableTree;
|
||||
* The Enum Type.
|
||||
*/
|
||||
public enum TransactionTreeNodeType {
|
||||
TX, /** The transaction. */
|
||||
PROPS, /** The props. */
|
||||
ATTRS, /** The attrs. */
|
||||
IN_REL, /** The in rel. */
|
||||
|
Loading…
Reference in New Issue
Block a user