~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/venkman/resources/content/venkman-bpprops.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<!--
 
4
   -
 
5
   - The contents of this file are subject to the Mozilla Public License
 
6
   - Version 1.1 (the "License"); you may not use this file except in
 
7
   - compliance with the License. You may obtain a copy of the License at
 
8
   - http://www.mozilla.org/MPL/ 
 
9
   - 
 
10
   - Software distributed under the License is distributed on an "AS IS" basis,
 
11
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
   - for the specific language governing rights and limitations under the
 
13
   - License. 
 
14
   -
 
15
   - The Original Code is The JavaScript Debugger
 
16
   - 
 
17
   - The Initial Developer of the Original Code is
 
18
   - Netscape Communications Corporation
 
19
   - Portions created by Netscape are
 
20
   - Copyright (C) 1998 Netscape Communications Corporation.
 
21
   - All Rights Reserved.
 
22
   -
 
23
   - Alternatively, the contents of this file may be used under the
 
24
   - terms of the GNU Public License (the "GPL"), in which case the
 
25
   - provisions of the GPL are applicable instead of those above.
 
26
   - If you wish to allow use of your version of this file only
 
27
   - under the terms of the GPL and not to allow others to use your
 
28
   - version of this file under the MPL, indicate your decision by
 
29
   - deleting the provisions above and replace them with the notice
 
30
   - and other provisions required by the GPL.  If you do not delete
 
31
   - the provisions above, a recipient may use your version of this
 
32
   - file under either the MPL or the GPL.
 
33
   -
 
34
   - Contributor(s):
 
35
   -  Robert Ginda, <rginda@netscape.com>, original author
 
36
   -
 
37
   -->
 
38
 
 
39
<!DOCTYPE window SYSTEM "chrome://venkman/locale/venkman.dtd">
 
40
 
 
41
<?xml-stylesheet href="chrome://venkman/skin/venkman.css" type="text/css"?>
 
42
 
 
43
<window id="venkman-window"
 
44
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
45
  onload="onLoad();" onunload="onUnload();"
 
46
  width="500" height="480"
 
47
  persist="width height screenX screenY"
 
48
  windowtype="mozapp:venkman:bp-props">
 
49
 
 
50
  <script>
 
51
    var DEBUG = true;
 
52
  </script>
 
53
  <script src="chrome://venkman/content/venkman-utils.js"/>
 
54
  <script src="chrome://venkman/content/venkman-bpprops.js"/>
 
55
 
 
56
  <hbox align="center">
 
57
    <label value="&BPProps.URL.label;" minwidth="50px"/>
 
58
    <textbox flex="1" readonly="true" id="url-textbox"/>
 
59
    <label value="&BPProps.Line.label;" minwidth="25px"/>
 
60
    <textbox readonly="true" id="line-textbox" width="50px"/>
 
61
  </hbox>
 
62
  <hbox align="center">
 
63
    <label value="&BPProps.FunctionName.label;" minwidth="50px"/>
 
64
    <textbox flex="1" readonly="true" id="function-textbox" width="50px"/>
 
65
    <label value="&BPProps.PC.label;" minwidth="25px"/>
 
66
    <textbox readonly="true" id="pc-textbox" width="50px"/>
 
67
  </hbox>
 
68
 
 
69
  <hbox align="center">
 
70
    <checkbox id="enabled-checkbox" label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
 
71
      oncommand="makeDirty()" flex="1"/>
 
72
    <checkbox id="onetime-checkbox" label="&BPProps.OneTime.label;"
 
73
      oncommand="makeDirty()" flex="1"/>
 
74
    <label value="&BPProps.TriggerCount.label;"/>
 
75
    <textbox id="trigger-textbox" width="50px"
 
76
     oninput="makeDirty()"/>
 
77
  </hbox>
 
78
 
 
79
  <vbox flex="1">
 
80
    <groupbox flex="1">
 
81
      <caption>
 
82
        <checkbox flex="1" id="condition-checkbox"
 
83
          oncommand="updateConditionGroup(); makeDirty()"
 
84
          label="&BPProps.ConditionalCheck.label;"/>
 
85
      </caption>
 
86
 
 
87
      <textbox readonly="true"
 
88
        value="function __trigger__(__count__) {"/>
 
89
      <textbox flex="1" multiline="true" id="condition-textbox"
 
90
        oninput="makeDirty()" onkeypress="onConditionKeyPress(event)"/>
 
91
      <textbox readonly="true" value="}"/>
 
92
      
 
93
      <label value="&BPProps.Then.label;"/>
 
94
      <radiogroup id="result-radio" >
 
95
        <radio style="margin-left: 20px;" label="&BPProps.NeverStopRadio.label;"
 
96
          oncommand="makeDirty()"/>
 
97
        <radio style="margin-left: 20px;" label="&BPProps.AlwaysStopRadio.label;"
 
98
          oncommand="makeDirty()"/>
 
99
        <radio style="margin-left: 20px;"
 
100
          label="&BPProps.ConditionalBreakRadio.label;"
 
101
          oncommand="makeDirty()"/>
 
102
        <radio style="margin-left: 20px;"
 
103
          label="&BPProps.EarlyReturnRadio.label;"
 
104
          oncommand="makeDirty()"/>
 
105
      </radiogroup>
 
106
 
 
107
      <hbox>
 
108
        <checkbox id="exception-checkbox"
 
109
          label="&BPProps.PassExceptionsCheck.label;"
 
110
          oncommand="makeDirty()"/>
 
111
        <checkbox id="log-checkbox"
 
112
          label="&BPProps.LogResultCheck.label;"
 
113
          oncommand="makeDirty()"/>
 
114
      </hbox>
 
115
    </groupbox>
 
116
  </vbox>
 
117
 
 
118
  <hbox pack="end">
 
119
    <button id="apply-button" label="&BPProps.Apply.label;"
 
120
      oncommand="copyToBreakpoint();"/>
 
121
    <button id="revert-button" label="&BPProps.Revert.label;"
 
122
      oncommand="populateFromBreakpoint();"/>
 
123
    <button id="close-button" label="&BPProps.Close.label;"
 
124
      oncommand="close();"/>
 
125
  </hbox>
 
126
 
 
127
</window>