commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference PreferenceDemo.jelly
Date Wed, 08 Sep 2004 05:18:44 GMT
dion        2004/09/07 22:18:44

  Modified:    jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard
                        WizardDemo.jelly
               jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface
                        JFaceDemo.jelly
               jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference
                        PreferenceDemo.jelly
  Log:
  detab
  
  Revision  Changes    Path
  1.3       +43 -43    jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard/WizardDemo.jelly
  
  Index: WizardDemo.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/wizard/WizardDemo.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WizardDemo.jelly	1 Mar 2004 01:32:40 -0000	1.2
  +++ WizardDemo.jelly	8 Sep 2004 05:18:43 -0000	1.3
  @@ -17,57 +17,57 @@
   <j:jelly xmlns:j="jelly:core" xmlns="jelly:jface" xmlns:log="jelly:log" xmlns:define="jelly:define">
   
     <define:script var="onPerformFinish">
  -		<log:error>onPerformFinish called ...</log:error>
  +        <log:error>onPerformFinish called ...</log:error>
     </define:script>
     
     <define:script var="onPerformCancel">
  -		<log:error>onPerformCancel called ...</log:error>
  +        <log:error>onPerformCancel called ...</log:error>
     </define:script>  
     
     <applicationWindow var="mainapp">
  -  	
  -		<wizardDialog var="wizardDialog" performFinish="${onPerformFinish}" performCancel="${onPerformCancel}">
  +      
  +        <wizardDialog var="wizardDialog" performFinish="${onPerformFinish}" performCancel="${onPerformCancel}">
   
  -			<wizardPage var="wpage1" title="Step 1" description="Step 1 in this wizard, showing
page 1">
  -				<composite>
  -					<gridLayout numColumns="2" />
  -					
  -					<label text="Some input" />
  -					<text />
  -					
  -					<label text="Label 1" />
  -					<button text="Set Message">	
  -						<onEvent type="Selection">
  -							${wpage1.setMessage('Message: give me some more ...')}
  -						</onEvent>
  -					</button>
  -					<label text="Label 2" />
  -					<button text="Set Error Message">	
  -						<onEvent type="Selection">
  -							${wpage1.setErrorMessage('ErrorMessage: This step is not complete')}
  -						</onEvent>						
  -					</button>	
  -					<label text="Label 3" />
  -					<button text="Set Page Complete">	
  -						<onEvent type="Selection">
  -							${wpage1.setPageComplete(true)}
  -						</onEvent>						
  -					</button>
  -					
  -				</composite>
  -			</wizardPage>	
  +            <wizardPage var="wpage1" title="Step 1" description="Step 1 in this wizard,
showing page 1">
  +                <composite>
  +                    <gridLayout numColumns="2" />
  +                    
  +                    <label text="Some input" />
  +                    <text />
  +                    
  +                    <label text="Label 1" />
  +                    <button text="Set Message">    
  +                        <onEvent type="Selection">
  +                            ${wpage1.setMessage('Message: give me some more ...')}
  +                        </onEvent>
  +                    </button>
  +                    <label text="Label 2" />
  +                    <button text="Set Error Message">    
  +                        <onEvent type="Selection">
  +                            ${wpage1.setErrorMessage('ErrorMessage: This step is not complete')}
  +                        </onEvent>                        
  +                    </button>    
  +                    <label text="Label 3" />
  +                    <button text="Set Page Complete">    
  +                        <onEvent type="Selection">
  +                            ${wpage1.setPageComplete(true)}
  +                        </onEvent>                        
  +                    </button>
  +                    
  +                </composite>
  +            </wizardPage>    
   
  -			
  -			<wizardPage var="wpage2" title="Step 2" description="Step 2 in this wizard">
  -				<composite>
  -					<gridLayout numColumns="2" />
  -					<label text="Label 3" />
  -					<button text="Do nothing" />
  -				</composite>
  -			</wizardPage>	
  -			
  -		</wizardDialog>
  -	
  +            
  +            <wizardPage var="wpage2" title="Step 2" description="Step 2 in this wizard">
  +                <composite>
  +                    <gridLayout numColumns="2" />
  +                    <label text="Label 3" />
  +                    <button text="Do nothing" />
  +                </composite>
  +            </wizardPage>    
  +            
  +        </wizardDialog>
  +    
     </applicationWindow>
   
     ${wpage1.setPageComplete(false)}  
  
  
  
  1.5       +23 -23    jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/JFaceDemo.jelly
  
  Index: JFaceDemo.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/JFaceDemo.jelly,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JFaceDemo.jelly	1 Mar 2004 01:32:40 -0000	1.4
  +++ JFaceDemo.jelly	8 Sep 2004 05:18:43 -0000	1.5
  @@ -18,29 +18,29 @@
   
     <applicationWindow var="mainapp" title="Welcome to the JFace Demo">
   
  -		<menuManager text="File">
  -			<action text="Test">
  -				<log:info> Very Nice !!!</log:info>
  -			</action>
  -			<separator />
  -			
  -			<action text="Check me" checked="true">
  -				<log:info>I've been checked</log:info>
  -			</action>
  -		</menuManager>
  -		
  -		<menuManager text="Edit">
  -			<action text="Say Hi Statusbar">
  -				  ${mainapp.setStatus('Hello ...')} 
  -			</action>
  -		</menuManager>
  -	
  -		<fillLayout type="vertical"/>	
  -	
  -		<label text="A big red label 1" background="204, 0, 0"/>
  -		<label text="I can barelly read this ;-(" foreground="#f2f2f2" />
  -		<label text="It sure looks like the dutch flag ;-)" foreground="#ffffff" background="0,
0, 153" />		
  -	
  +        <menuManager text="File">
  +            <action text="Test">
  +                <log:info> Very Nice !!!</log:info>
  +            </action>
  +            <separator />
  +            
  +            <action text="Check me" checked="true">
  +                <log:info>I've been checked</log:info>
  +            </action>
  +        </menuManager>
  +        
  +        <menuManager text="Edit">
  +            <action text="Say Hi Statusbar">
  +                  ${mainapp.setStatus('Hello ...')} 
  +            </action>
  +        </menuManager>
  +    
  +        <fillLayout type="vertical"/>    
  +    
  +        <label text="A big red label 1" background="204, 0, 0"/>
  +        <label text="I can barelly read this ;-(" foreground="#f2f2f2" />
  +        <label text="It sure looks like the dutch flag ;-)" foreground="#ffffff" background="0,
0, 153" />        
  +    
     </applicationWindow>
     
     ${mainapp.MenuBarManager.updateAll(true)} 
  
  
  
  1.3       +20 -20    jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference/PreferenceDemo.jelly
  
  Index: PreferenceDemo.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/jface/src/test/org/apache/commons/jelly/tags/jface/preference/PreferenceDemo.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PreferenceDemo.jelly	1 Mar 2004 01:32:40 -0000	1.2
  +++ PreferenceDemo.jelly	8 Sep 2004 05:18:43 -0000	1.3
  @@ -17,31 +17,31 @@
   <j:jelly xmlns:j="jelly:core" xmlns="jelly:jface" xmlns:log="jelly:log">
   
     <applicationWindow var="mainapp">
  -  	
  -  	<preferenceDialog var="pd">
  -				
  -			<preferencePage title="General settings" filename="settings.props">
  -				<booleanFieldEditor name="var1" labelText="It's boolean" />
  -				<colorFieldEditor name="var2" labelText="MainColor" />
  -				<directoryFieldEditor name="var3" labelText="Directory" />
  -				<fileFieldEditor name="var4" labelText="File" />
  -				<fontFieldEditor name="var5" labelText="Font" />					
  -				<integerFieldEditor name="var6" labelText="Integer" />					
  -				<stringFieldEditor name="var7" labelText="String" />	
  -			</preferencePage>	
  -				
  -			<preferencePage title="Personal settings" filename="personal-settings.props" >
  -				<stringFieldEditor name="var8" labelText="String1" />			
  -				<stringFieldEditor name="var9" labelText="String2" />								
  -			</preferencePage>
  +      
  +      <preferenceDialog var="pd">
  +                
  +            <preferencePage title="General settings" filename="settings.props">
  +                <booleanFieldEditor name="var1" labelText="It's boolean" />
  +                <colorFieldEditor name="var2" labelText="MainColor" />
  +                <directoryFieldEditor name="var3" labelText="Directory" />
  +                <fileFieldEditor name="var4" labelText="File" />
  +                <fontFieldEditor name="var5" labelText="Font" />                
   
  +                <integerFieldEditor name="var6" labelText="Integer" />          
         
  +                <stringFieldEditor name="var7" labelText="String" />    
  +            </preferencePage>    
  +                
  +            <preferencePage title="Personal settings" filename="personal-settings.props"
>
  +                <stringFieldEditor name="var8" labelText="String1" />           

  +                <stringFieldEditor name="var9" labelText="String2" />           
                    
  +            </preferencePage>
   
  -	</preferenceDialog>		
  +    </preferenceDialog>        
   
  -		
  +        
     </applicationWindow>
   
    
  -  ${pd.open()}	
  +  ${pd.open()}    
   
    
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message