uadds and pdates some graphics and menu items

This commit is contained in:
2023-06-27 16:00:57 +02:00
parent d1808ec1cf
commit be87792dad
22 changed files with 203 additions and 30 deletions

View File

@ -0,0 +1,34 @@
/*******************************************************************************
* Copyright (c) 2020 MINRES Technologies GmbH 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* MINRES Technologies GmbH - initial API and implementation
*******************************************************************************/
package com.minres.scviewer.database;
/**
* The Enum DirectionType.
*/
public enum DirectionType {
IMPLICIT,
INPUT,
OUTPUT,
INOUT,
BUFFER,
LINKAGE;
public String toString() {
switch(this) {
case INPUT: return "I";
case OUTPUT: return "O";
case INOUT: return "IO";
case BUFFER: return "B";
case LINKAGE: return "L";
default: return "";
}
}
}

View File

@ -123,4 +123,9 @@ public class EmptyWaveform implements IWaveform {
return 0;
}
@Override
public DirectionType getDirection() {
return DirectionType.IMPLICIT;
}
}

View File

@ -11,7 +11,7 @@
package com.minres.scviewer.database;
// TODO: Auto-generated Javadoc
/**
* The Interface IWaveform.
*
@ -19,6 +19,7 @@ package com.minres.scviewer.database;
*/
public interface IWaveform extends IHierNode {
public DirectionType getDirection();
/**
* Gets the id.
*