09592ec43d
modified: c/CtrlHistoLink.rb modified: c/Main.rb new file: doc/rdoc/CtrlCheckLinks.html new file: doc/rdoc/CtrlHistoLink.html new file: doc/rdoc/Menu.html new file: doc/rdoc/ReadFile.html new file: doc/rdoc/Vue1.html new file: doc/rdoc/VueHisto.html new file: doc/rdoc/VueMenu.html new file: doc/rdoc/VueResult.html new file: doc/rdoc/c/CtrlCheckLinks_rb.html new file: doc/rdoc/c/CtrlHistoLink_rb.html new file: doc/rdoc/c/Main_rb.html new file: doc/rdoc/c/hello_rb.html new file: doc/rdoc/created.rid new file: doc/rdoc/images/brick.png new file: doc/rdoc/images/brick_link.png new file: doc/rdoc/images/bug.png new file: doc/rdoc/images/bullet_black.png new file: doc/rdoc/images/bullet_toggle_minus.png new file: doc/rdoc/images/bullet_toggle_plus.png new file: doc/rdoc/images/date.png new file: doc/rdoc/images/find.png new file: doc/rdoc/images/loadingAnimation.gif new file: doc/rdoc/images/macFFBgHack.png new file: doc/rdoc/images/package.png new file: doc/rdoc/images/page_green.png new file: doc/rdoc/images/page_white_text.png new file: doc/rdoc/images/page_white_width.png new file: doc/rdoc/images/plugin.png new file: doc/rdoc/images/ruby.png new file: doc/rdoc/images/tag_green.png new file: doc/rdoc/images/wrench.png new file: doc/rdoc/images/wrench_orange.png new file: doc/rdoc/images/zoom.png new file: doc/rdoc/index.html new file: doc/rdoc/m/ReadFile_rb.html new file: doc/rdoc/rdoc.css new file: doc/rdoc/v/Vue1_rb.html new file: doc/rdoc/v/VueHisto_rb.html new file: doc/rdoc/v/VueMenu_rb.html new file: doc/rdoc/v/VueResult_rb.html modified: m/ReadFile.rb modified: v/Vue1.rb modified: v/VueHisto.rb modified: v/VueMenu.rb modified: v/VueResult.rb
318 lines
10 KiB
HTML
318 lines
10 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
<head>
|
||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||
|
||
<title>Class: CtrlHistoLink</title>
|
||
|
||
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
||
|
||
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
||
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
||
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
||
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
||
|
||
</head>
|
||
<body id="top" class="class">
|
||
|
||
<div id="metadata">
|
||
<div id="home-metadata">
|
||
<div id="home-section" class="section">
|
||
<h3 class="section-header">
|
||
<a href="./index.html">Home</a>
|
||
<a href="./index.html#classes">Classes</a>
|
||
<a href="./index.html#methods">Methods</a>
|
||
</h3>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="file-metadata">
|
||
<div id="file-list-section" class="section">
|
||
<h3 class="section-header">In Files</h3>
|
||
<div class="section-body">
|
||
<ul>
|
||
|
||
<li><a href="./c/CtrlHistoLink_rb.html?TB_iframe=true&height=550&width=785"
|
||
class="thickbox" title="c/CtrlHistoLink.rb">c/CtrlHistoLink.rb</a></li>
|
||
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<div id="class-metadata">
|
||
|
||
<!-- Parent Class -->
|
||
<div id="parent-class-section" class="section">
|
||
<h3 class="section-header">Parent</h3>
|
||
|
||
<p class="link">Object</p>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Method Quickref -->
|
||
<div id="method-list-section" class="section">
|
||
<h3 class="section-header">Methods</h3>
|
||
<ul class="link-list">
|
||
|
||
<li><a href="#method-i-destructionFen">#destructionFen</a></li>
|
||
|
||
<li><a href="#method-i-rejouer">#rejouer</a></li>
|
||
|
||
<li><a href="#method-i-saisie">#saisie</a></li>
|
||
|
||
<li><a href="#method-i-sauv">#sauv</a></li>
|
||
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
<div id="project-metadata">
|
||
|
||
|
||
|
||
<div id="classindex-section" class="section project-section">
|
||
<h3 class="section-header">Class/Module Index
|
||
<span class="search-toggle"><img src="./images/find.png"
|
||
height="16" width="16" alt="[+]"
|
||
title="show/hide quicksearch" /></span></h3>
|
||
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
||
<fieldset>
|
||
<legend>Quicksearch</legend>
|
||
<input type="text" name="quicksearch" value=""
|
||
class="quicksearch-field" />
|
||
</fieldset>
|
||
</form>
|
||
|
||
<ul class="link-list">
|
||
|
||
<li><a href="./CtrlCheckLinks.html">CtrlCheckLinks</a></li>
|
||
|
||
<li><a href="./CtrlHistoLink.html">CtrlHistoLink</a></li>
|
||
|
||
<li><a href="./Menu.html">Menu</a></li>
|
||
|
||
<li><a href="./ReadFile.html">ReadFile</a></li>
|
||
|
||
<li><a href="./Vue1.html">Vue1</a></li>
|
||
|
||
<li><a href="./VueHisto.html">VueHisto</a></li>
|
||
|
||
<li><a href="./VueMenu.html">VueMenu</a></li>
|
||
|
||
<li><a href="./VueResult.html">VueResult</a></li>
|
||
|
||
</ul>
|
||
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div id="documentation">
|
||
<h1 class="class">CtrlHistoLink</h1>
|
||
|
||
<div id="description" class="description">
|
||
|
||
<p>Classe permettant de gzrer l’historique de fichier traité et la vue <a
|
||
href="VueHisto.html">VueHisto</a></p>
|
||
|
||
</div><!-- description -->
|
||
|
||
|
||
|
||
|
||
<div id="5Buntitled-5D" class="documentation-section">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Methods -->
|
||
|
||
<div id="public-instance-method-details" class="method-section section">
|
||
<h3 class="section-header">Public Instance Methods</h3>
|
||
|
||
|
||
<div id="destructionFen-method" class="method-detail ">
|
||
<a name="method-i-destructionFen"></a>
|
||
|
||
|
||
<div class="method-heading">
|
||
<span class="method-name">destructionFen</span><span
|
||
class="method-args">()</span>
|
||
<span class="method-click-advice">click to toggle source</span>
|
||
</div>
|
||
|
||
|
||
<div class="method-description">
|
||
|
||
<p><b>Controleur permettant de detruire la vue historique</b></p>
|
||
|
||
|
||
|
||
<div class="method-source-code" id="destructionFen-source">
|
||
<pre>
|
||
<span class="ruby-comment"># File c/CtrlHistoLink.rb, line 27</span>
|
||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">destructionFen</span>
|
||
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">destroy</span>
|
||
<span class="ruby-constant">Gtk</span>.<span class="ruby-identifier">main_quit</span>
|
||
<span class="ruby-keyword">end</span></pre>
|
||
</div><!-- destructionFen-source -->
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</div><!-- destructionFen-method -->
|
||
|
||
|
||
<div id="rejouer-method" class="method-detail ">
|
||
<a name="method-i-rejouer"></a>
|
||
|
||
|
||
<div class="method-heading">
|
||
<span class="method-name">rejouer</span><span
|
||
class="method-args">(pathName)</span>
|
||
<span class="method-click-advice">click to toggle source</span>
|
||
</div>
|
||
|
||
|
||
<div class="method-description">
|
||
|
||
<p><b>Permet de rejouer les liens d'un fichier</b></p>
|
||
<ul><li>
|
||
<p>Sting pathName : chemin du fichier de l’historique à rejouer</p>
|
||
</li></ul>
|
||
|
||
|
||
|
||
<div class="method-source-code" id="rejouer-source">
|
||
<pre>
|
||
<span class="ruby-comment"># File c/CtrlHistoLink.rb, line 21</span>
|
||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">rejouer</span>(<span class="ruby-identifier">pathName</span>)
|
||
<span class="ruby-identifier">r</span> = <span class="ruby-constant">CtrlCheckLinks</span>.<span class="ruby-identifier">new</span>
|
||
<span class="ruby-ivar">@urls</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">recupUrls</span>(<span class="ruby-identifier">pathName</span>)
|
||
<span class="ruby-keyword">end</span></pre>
|
||
</div><!-- rejouer-source -->
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</div><!-- rejouer-method -->
|
||
|
||
|
||
<div id="saisie-method" class="method-detail ">
|
||
<a name="method-i-saisie"></a>
|
||
|
||
|
||
<div class="method-heading">
|
||
<span class="method-name">saisie</span><span
|
||
class="method-args">()</span>
|
||
<span class="method-click-advice">click to toggle source</span>
|
||
</div>
|
||
|
||
|
||
<div class="method-description">
|
||
|
||
<p><b>Saisie pour vérification de lien stocké en historique, controleur <a
|
||
href="VueHisto.html">VueHisto</a></b></p>
|
||
|
||
|
||
|
||
<div class="method-source-code" id="saisie-source">
|
||
<pre>
|
||
<span class="ruby-comment"># File c/CtrlHistoLink.rb, line 4</span>
|
||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">saisie</span>
|
||
<span class="ruby-ivar">@v</span> = <span class="ruby-constant">VueHisto</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>,<span class="ruby-string">"Historique"</span>) <span class="ruby-comment">#creation vue </span>
|
||
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">show_all</span> <span class="ruby-comment"># affichage</span>
|
||
<span class="ruby-constant">Gtk</span>.<span class="ruby-identifier">main</span>
|
||
<span class="ruby-keyword">end</span></pre>
|
||
</div><!-- saisie-source -->
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</div><!-- saisie-method -->
|
||
|
||
|
||
<div id="sauv-method" class="method-detail ">
|
||
<a name="method-i-sauv"></a>
|
||
|
||
|
||
<div class="method-heading">
|
||
<span class="method-name">sauv</span><span
|
||
class="method-args">(pathName, urls)</span>
|
||
<span class="method-click-advice">click to toggle source</span>
|
||
</div>
|
||
|
||
|
||
<div class="method-description">
|
||
|
||
<p><b>Sauvegarde les liens dans un fichier pour historique</b></p>
|
||
<ul><li>
|
||
<p>String pathName : chemin du fichier à mettre en historique</p>
|
||
</li><li>
|
||
<p>String urls : liste urls à sauver dans l’historique</p>
|
||
</li></ul>
|
||
|
||
|
||
|
||
<div class="method-source-code" id="sauv-source">
|
||
<pre>
|
||
<span class="ruby-comment"># File c/CtrlHistoLink.rb, line 12</span>
|
||
<span class="ruby-keyword">def</span> <span class="ruby-identifier">sauv</span>(<span class="ruby-identifier">pathName</span>, <span class="ruby-identifier">urls</span>)
|
||
<span class="ruby-identifier">pathName</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">pathName</span>)
|
||
<span class="ruby-identifier">f</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"../sauv/#{pathName}"</span>, <span class="ruby-string">"w+"</span>)
|
||
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">urls</span>)
|
||
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
|
||
<span class="ruby-keyword">end</span></pre>
|
||
</div><!-- sauv-source -->
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</div><!-- sauv-method -->
|
||
|
||
|
||
</div><!-- public-instance-method-details -->
|
||
|
||
</div><!-- 5Buntitled-5D -->
|
||
|
||
|
||
</div><!-- documentation -->
|
||
|
||
<div id="validator-badges">
|
||
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
||
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
||
Rdoc Generator</a> 2</small>.</p>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|
||
|