cmlog.gui
Class CodeConversion

java.lang.Object
  extended bycmlog.gui.CodeConversion

public class CodeConversion
extends java.lang.Object


Constructor Summary
CodeConversion(Disp disp, org.eclipse.swt.widgets.Menu menu)
          Constructor that creates Code Conversion menu item
 
Method Summary
static java.lang.String getAction(int k)
           
static java.lang.String getTag1()
           
static java.lang.String getTag1Value()
           
static java.lang.String getTag2()
           
static org.eclipse.swt.graphics.Color[] getTag2Color()
           
static java.lang.String[] getTag2Colors()
           
static java.lang.String[] getTag2Values()
           
static boolean isCodeConvEnabled()
           
static void setBlink(java.lang.String[] action)
          Set actions for conversion tag values
static void setTag1(java.lang.String tag)
          Set name of conditional tag
static void setTag1Value(java.lang.String value)
          Set value of conditional tag
static void setTag2(java.lang.String tag)
          Set name of conversion tag
static void setTag2Colors(java.lang.String[] tag)
          Set colors of conversion tag values
static void setTag2Values(java.lang.String[] tag)
          Set values of conversion tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeConversion

public CodeConversion(Disp disp,
                      org.eclipse.swt.widgets.Menu menu)
Constructor that creates Code Conversion menu item

Parameters:
disp - Overall GUI display object
menu - Preferences menu
Method Detail

setTag1

public static void setTag1(java.lang.String tag)
Set name of conditional tag

Parameters:
tag -

getTag1

public static java.lang.String getTag1()
Returns:
Name of conditional tag

setTag1Value

public static void setTag1Value(java.lang.String value)
Set value of conditional tag

Parameters:
value -

getTag1Value

public static java.lang.String getTag1Value()
Returns:
Value of conditional tag

setTag2

public static void setTag2(java.lang.String tag)
Set name of conversion tag

Parameters:
tag -

getTag2

public static java.lang.String getTag2()
Returns:
Name of conversion tag

setTag2Values

public static void setTag2Values(java.lang.String[] tag)
Set values of conversion tag

Parameters:
tag -

getTag2Values

public static java.lang.String[] getTag2Values()
Returns:
Values of conversion tag

setTag2Colors

public static void setTag2Colors(java.lang.String[] tag)
Set colors of conversion tag values

Parameters:
tag -

getTag2Colors

public static java.lang.String[] getTag2Colors()
Returns:
Colors of conversion tag values

getTag2Color

public static org.eclipse.swt.graphics.Color[] getTag2Color()
Returns:
RGB format of conversion tag value colors

isCodeConvEnabled

public static boolean isCodeConvEnabled()
Returns:
True if Code Conversion is enabled

setBlink

public static void setBlink(java.lang.String[] action)
Set actions for conversion tag values

Parameters:
action -

getAction

public static java.lang.String getAction(int k)
Parameters:
k -
Returns:
Action to be performed on conversion tag's value