Ignore:
Timestamp:
Jan 12, 2011, 12:11:10 PM (11 years ago)
Author:
Matthäus Wander
Message:

HowTo:

  • removed DisplayLevel, refs #122
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Documentation/PluginHowTo/part2.tex

    r1636 r2320  
    297297        \item \textit{mandatory} --- this flag determines whether an input must be attached by the user to use the plugin. If set to \texttt{true}, an input connection will be required or else the plugin will not be executed in the workflow chain. If set to \texttt{false}, connecting an input is optional. As this only applies to input properties, if the direction has been set to \texttt{Direction.Output}, this flag will be ignored.
    298298        \item \textit{hasDefaultValue} --- if this flag is set to \texttt{true}, CrypTool 2 will assume that the property has a default input value that does not require user input.
    299         \item \textit{displayLevel} --- determines in which display levels your property will be shown in CrypTool~2. These are used to hide more advanced item from less-experienced users; a beginner using the corresponding display level will not see the properties marked as any other level, but a professional using the appropriate display level will have access to everything. These levels are as follows:
    300        
    301         \begin{itemize}
    302                 \item \texttt{DisplayLevel.Beginner}
    303                 \item \texttt{DisplayLevel.Experienced}
    304                 \item \texttt{DisplayLevel.Expert}
    305                 \item \texttt{DisplayLevel.Professional}
    306         \end{itemize}
    307299       
    308300        \item \textit{quickWatchFormat} --- determines how the content of the property will be shown in the quickwatch perspective. CrypTool 2 accepts the following quickwatch formats:
     
    336328
    337329\begin{lstlisting}
    338 [PropertyInfo(Direction.InputData, "Text input", "Input a string to be processed by the Caesar cipher", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     330[PropertyInfo(Direction.InputData, "Text input", "Input a string to be processed by the Caesar cipher", "", true, false, QuickWatchFormat.Text, null)]
    339331public string InputString
    340332{
     
    358350
    359351\begin{lstlisting}
    360 [PropertyInfo(Direction.OutputData, "Text output", "The string after processing with the Caesar cipher", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     352[PropertyInfo(Direction.OutputData, "Text output", "The string after processing with the Caesar cipher", "", false, false, QuickWatchFormat.Text, null)]
    361353public string OutputString
    362354{
     
    376368
    377369\begin{lstlisting}
    378 [PropertyInfo(Direction.OutputData, "CryptoolStream output", "The raw CryptoolStream data after processing with the Caesar cipher", "", false, false, DisplayLevel.Beginner, QuickWatchFormat.Text, null)]
     370[PropertyInfo(Direction.OutputData, "CryptoolStream output", "The raw CryptoolStream data after processing with the Caesar cipher", "", false, false, QuickWatchFormat.Text, null)]
    379371public CryptoolStream OutputData
    380372{
     
    396388}
    397389
    398 [PropertyInfo(Direction.InputData, "External alphabet input", "Input a string containing the alphabet to be used by Caesar.\nIf no alphabet is provided for this input, the internal default alphabet will be used.", "", false, false, DisplayLevel.Expert, QuickWatchFormat.Text, null)]
     390[PropertyInfo(Direction.InputData, "External alphabet input", "Input a string containing the alphabet to be used by Caesar.\nIf no alphabet is provided for this input, the internal default alphabet will be used.", "", false, false, QuickWatchFormat.Text, null)]
    399391public string InputAlphabet
    400392{
     
    410402}
    411403
    412 [PropertyInfo(Direction.InputData, "Shift value (integer)", "This is the same setting as the shift value in the Settings pane but as dynamic input.", "", false, false, DisplayLevel.Expert, QuickWatchFormat.Text, null)]
     404[PropertyInfo(Direction.InputData, "Shift value (integer)", "This is the same setting as the shift value in the Settings pane but as dynamic input.", "", false, false, QuickWatchFormat.Text, null)]
    413405public int ShiftKey
    414406{
Note: See TracChangeset for help on using the changeset viewer.