Revision: 1787
http://svn.sourceforge.net/vexi/?rev=1787&view=rev
Author: clrg
Date: 2007-04-03 09:28:47 -0700 (Tue, 03 Apr 2007)
Log Message:
-----------
Add tooltips to buttons / tidy up a little
Modified Paths:
--------------
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/button.t
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/buttons.t
Modified:
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/button.t
===================================================================
---
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/button.t
2007-04-03 15:55:30 UTC (rev 1786)
+++
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/button.t
2007-04-03 16:28:47 UTC (rev 1787)
@@ -1,7 +1,7 @@
<vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta"
xmlns:db="org.vexi.debugclient" xmlns:wi="vexi.widget"
xmlns:icons="org.vexi.debugclient.ui.buttons.image">
- <wi:button id="stepinto" align="center" vshrink="false" >
+ <wi:button align="center" vshrink="false" >
<ui:box id="icon" shrink="true"/>
var updateIcon = function(){
@@ -27,5 +27,4 @@
</wi:button>
-
</vexi>
Modified:
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/buttons.t
===================================================================
---
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/buttons.t
2007-04-03 15:55:30 UTC (rev 1786)
+++
core/trunk/org.vexi.debugclient/src/org/vexi/debugclient/ui/buttons/buttons.t
2007-04-03 16:28:47 UTC (rev 1787)
@@ -3,34 +3,33 @@
xmlns:model="org.vexi.debugclient.core.model"
xmlns:wi="org.vexi.debugclient.ui.buttons">
<wi:flow vshrink="true">
- <wi:button id="stepinto" align="center" vshrink="false"
iconname="stepinto"/>
- <wi:button id="stepover" align="center" vshrink="false"
iconname="stepover"/>
- <wi:button id="stepout" align="center" vshrink="false"
iconname="stepout"/>
- <wi:button id="resume" align="center" vshrink="false"
iconname="resume"/>
- <wi:button id="suspend" align="center" vshrink="false"
iconname="suspend"/>
- <wi:button id="terminate" align="center" vshrink="false"
iconname="terminate"/>
- <wi:button id="restart" align="center" vshrink="false" text="restart"/>
- <wi:button id="quit" align="center" vshrink="false" text="quit"/>
-
- model..status ++=function(v){
+ <wi:button id="stepinto" align="center" vshrink="false"
iconname="stepinto" tooltip="Step Into" />
+ <wi:button id="stepover" align="center" vshrink="false"
iconname="stepover" tooltip="Step Over" />
+ <wi:button id="stepout" align="center" vshrink="false"
iconname="stepout" tooltip="Step Out" />
+ <wi:button id="resume" align="center" vshrink="false" iconname="resume"
tooltip="Resume" />
+ <wi:button id="suspend" align="center" vshrink="false"
iconname="suspend" tooltip="Suspend" />
+ <wi:button id="terminate" align="center" vshrink="false"
iconname="terminate" tooltip="Terminate" />
+ <wi:button id="restart" align="center" vshrink="false" text="restart" />
+ <wi:button id="quit" align="center" vshrink="false" text="quit" />
+
+ model..status ++=function(v) {
var halted = v=="halted";
var stopped = v=="stopped";
$stepinto.enabled = halted;
$stepover.enabled = halted;
$stepout.enabled = halted;
$resume.enabled = halted;
-
+
$suspend.enabled = v=="running";
-
+
$terminate.enabled = !stopped;
$restart.enabled = stopped;
-
+
// disabled as doesn't exist yet
//$quit.enabled = true;
$quit.enabled = false;
+ };
- };
-
//////////////
/// The actions
///////
@@ -55,5 +54,6 @@
$quit.action ++= function(v) {
server..quit();
};
+
</wi:flow>
</vexi>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn