VDBConsoleApplication.st
changeset 0 33a652015a1a
equal deleted inserted replaced
-1:000000000000 0:33a652015a1a
       
     1 "{ Package: 'jv:vdb' }"
       
     2 
       
     3 VDBAbstractApplication subclass:#VDBConsoleApplication
       
     4 	instanceVariableNames:'consoleView'
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'VDB-UI-Console'
       
     8 !
       
     9 
       
    10 
       
    11 !VDBConsoleApplication class methodsFor:'interface specs'!
       
    12 
       
    13 windowSpec
       
    14     "This resource specification was automatically generated
       
    15      by the UIPainter of ST/X."
       
    16 
       
    17     "Do not manually edit this!! If it is corrupted,
       
    18      the UIPainter may not be able to read the specification."
       
    19 
       
    20     "
       
    21      UIPainter new openOnClass:VDBConsoleApplication andSelector:#windowSpec
       
    22      VDBConsoleApplication new openInterface:#windowSpec
       
    23      VDBConsoleApplication open
       
    24     "
       
    25 
       
    26     <resource: #canvas>
       
    27 
       
    28     ^ 
       
    29     #(FullSpec
       
    30        name: windowSpec
       
    31        window: 
       
    32       (WindowSpec
       
    33          label: 'VDB Console'
       
    34          name: 'VDB Console'
       
    35          min: (Point 10 10)
       
    36          bounds: (Rectangle 0 0 782 332)
       
    37        )
       
    38        component: 
       
    39       (SpecCollection
       
    40          collection: (
       
    41           (ArbitraryComponentSpec
       
    42              name: 'Console'
       
    43              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
       
    44              hasBorder: false
       
    45              component: consoleView
       
    46            )
       
    47           )
       
    48         
       
    49        )
       
    50      )
       
    51 ! !
       
    52 
       
    53 !VDBConsoleApplication class methodsFor:'plugIn spec'!
       
    54 
       
    55 aspectSelectors
       
    56     "This resource specification was automatically generated
       
    57      by the UIPainter of ST/X."
       
    58 
       
    59     "Do not manually edit this. If it is corrupted,
       
    60      the UIPainter may not be able to read the specification."
       
    61 
       
    62     "Return a description of exported aspects;
       
    63      these can be connected to aspects of an embedding application
       
    64      (if this app is embedded in a subCanvas)."
       
    65 
       
    66     ^ #(
       
    67         #debuggerHolder
       
    68       ).
       
    69 
       
    70 ! !
       
    71 
       
    72 !VDBConsoleApplication methodsFor:'aspects'!
       
    73 
       
    74 consoleView
       
    75     consoleView isNil ifTrue:[ 
       
    76         consoleView := VDBConsoleView new.
       
    77         consoleView debuggerHolder: self debuggerHolder.
       
    78     ].
       
    79     ^ consoleView
       
    80 
       
    81     "Created: / 06-06-2014 / 21:33:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    82 !
       
    83 
       
    84 debuggerHolder:aValueModel
       
    85     super debuggerHolder:aValueModel.
       
    86     self consoleView debuggerHolder:aValueModel
       
    87 
       
    88     "Created: / 06-06-2014 / 22:04:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    89 ! !
       
    90 
       
    91 !VDBConsoleApplication class methodsFor:'documentation'!
       
    92 
       
    93 version_HG
       
    94 
       
    95     ^ '$Changeset: <not expanded> $'
       
    96 ! !
       
    97