modified: c/CtrlCheckLinks.rb
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
@ -1,22 +1,25 @@
|
|||||||
# Controleur de la vérification de la validité des liens ainsi que les vues correspondantes
|
# Controleur de la vérification de la validité des liens ainsi que la vue Vue1 et VueResult
|
||||||
class CtrlCheckLinks
|
class CtrlCheckLinks
|
||||||
#Controleur de la saisie pour vérification de lien
|
# <b>Controleur de la saisie pour vérification de lien, controleur Vue1</b>
|
||||||
def saisie(type)
|
# * int type : permet de modifier la vue si 1 -> fichier sinon dossier
|
||||||
@v1 = Vue1.new(self, 'Saisie nom fichier', type) #creation vue principal
|
# * string title : titre fenetre de la vue qui va etre genere
|
||||||
|
# * return : String des urls trouvés
|
||||||
|
def saisie(type, title)
|
||||||
|
@v1 = Vue1.new(self, title, type) #creation vue principal
|
||||||
@v1.getWindow.show_all # affichage
|
@v1.getWindow.show_all # affichage
|
||||||
Gtk.main
|
Gtk.main
|
||||||
return @urls
|
|
||||||
end
|
end
|
||||||
#Controleur recuperation et verification de liens dans 1 fichiers
|
# <b>Controleur de recuperation et verification de liens dans 1 fichiers</b>
|
||||||
|
# * string str : chemin d'accès au fichier à traiter
|
||||||
def recupUrls(str)
|
def recupUrls(str)
|
||||||
f = ReadFile.new(str)
|
f = ReadFile.new(str)
|
||||||
@urls = f.getUrls
|
@urls = f.getUrls
|
||||||
self.vueResult(self.verifLiens(@urls), str)
|
self.vueResult(self.verifLiens(@urls), str)
|
||||||
s = CtrlHistoLink.new #on enregistre dans l'histo le verif du lien
|
s = CtrlHistoLink.new #on enregistre dans l'histo le verif du lien
|
||||||
s.sauv(str, @urls)
|
s.sauv(str, @urls)
|
||||||
return @urls
|
|
||||||
end
|
end
|
||||||
#Controleur recuperation et verification de liens dans 1 dossier
|
# <b>Controleur de recuperation et verification de liens dans 1 dossier</b>
|
||||||
|
# * string str : chemin d'accès au fichier à traiter
|
||||||
def recupUrlsDoss(str)
|
def recupUrlsDoss(str)
|
||||||
d = Dir.open(str)
|
d = Dir.open(str)
|
||||||
liste_exclus = [".", ".."]
|
liste_exclus = [".", ".."]
|
||||||
@ -27,12 +30,14 @@ class CtrlCheckLinks
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
#Controleur permettant de detruire la vue principal
|
# <b>Controleur permettant de detruire la vue Vue1</b>
|
||||||
def destructionFen
|
def destructionFen
|
||||||
@v1.getWindow.destroy
|
@v1.getWindow.destroy
|
||||||
Gtk.main_quit
|
Gtk.main_quit
|
||||||
end
|
end
|
||||||
#Controleur de verification de liens
|
# <b>Controleur de verification de liens</b>
|
||||||
|
# * string[] : tableau des urls à vérifier
|
||||||
|
# * return : string contenant le resultat des pings
|
||||||
def verifLiens(urls)
|
def verifLiens(urls)
|
||||||
resultats = ""
|
resultats = ""
|
||||||
urls.each { |n| # pour chaque urls on realise un ping -> mise des resultats en chaine de caractere
|
urls.each { |n| # pour chaque urls on realise un ping -> mise des resultats en chaine de caractere
|
||||||
@ -44,13 +49,13 @@ class CtrlCheckLinks
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
return resultats
|
return resultats
|
||||||
|
|
||||||
end
|
end
|
||||||
#Controleur permettant d'afficher la vue secondaire d'affichage de resultat
|
# <b>Controleur permettant d'afficher la vue secondaire d'affichage de resultats, controleur VueResult</b>
|
||||||
|
# * string resultats : contient les resultats à affiché
|
||||||
|
# * string nom : nom du fichier qui contient les urls traités
|
||||||
def vueResult(resultats, nom)
|
def vueResult(resultats, nom)
|
||||||
v = VueResult.new(resultats, nom)
|
v = VueResult.new(resultats, nom)
|
||||||
v.getWindow.show_all
|
v.getWindow.show_all
|
||||||
Gtk.main
|
Gtk.main
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
@ -1,27 +1,29 @@
|
|||||||
#Classe permettant de g"rer l'historique de fichier traité
|
#Classe permettant de gzrer l'historique de fichier traité et la vue VueHisto
|
||||||
class CtrlHistoLink
|
class CtrlHistoLink
|
||||||
#Saisie pour vérification de lien stocké en historique
|
# <b>Saisie pour vérification de lien stocké en historique, controleur VueHisto</b>
|
||||||
def saisie
|
def saisie
|
||||||
@v = VueHisto.new(self,"Historique") #creation vue
|
@v = VueHisto.new(self,"Historique") #creation vue
|
||||||
@v.getWindow.show_all # affichage
|
@v.getWindow.show_all # affichage
|
||||||
Gtk.main
|
Gtk.main
|
||||||
return @urls
|
|
||||||
end
|
end
|
||||||
#Sauvegarde les liens dans un fichier pour historique
|
# <b>Sauvegarde les liens dans un fichier pour historique</b>
|
||||||
def sauv(fileName, urls)
|
# * String pathName : chemin du fichier à mettre en historique
|
||||||
fileName = File.basename(fileName)
|
# * String urls : liste urls à sauver dans l'historique
|
||||||
f = File.new("../sauv/#{fileName}", "w+")
|
def sauv(pathName, urls)
|
||||||
|
pathName = File.basename(pathName)
|
||||||
|
f = File.new("../sauv/#{pathName}", "w+")
|
||||||
f.write(urls)
|
f.write(urls)
|
||||||
f.close
|
f.close
|
||||||
end
|
end
|
||||||
|
|
||||||
#Permet de rejouer les liens d'un fichier
|
# <b>Permet de rejouer les liens d'un fichier</b>
|
||||||
def rejouer(fileName)
|
# * Sting pathName : chemin du fichier de l'historique à rejouer
|
||||||
|
def rejouer(pathName)
|
||||||
r = CtrlCheckLinks.new
|
r = CtrlCheckLinks.new
|
||||||
@urls = r.recupUrls(fileName)
|
@urls = r.recupUrls(pathName)
|
||||||
end
|
end
|
||||||
|
|
||||||
#Controleur permettant de detruire la vue historique
|
# <b>Controleur permettant de detruire la vue historique</b>
|
||||||
def destructionFen
|
def destructionFen
|
||||||
@v.getWindow.destroy
|
@v.getWindow.destroy
|
||||||
Gtk.main_quit
|
Gtk.main_quit
|
||||||
|
30
c/Main.rb
@ -13,35 +13,40 @@ require '../v/VueResult'
|
|||||||
require '../v/VueMenu'
|
require '../v/VueMenu'
|
||||||
require '../v/VueHisto'
|
require '../v/VueHisto'
|
||||||
|
|
||||||
#Classe principal du controleur main
|
#Controleur du menu principal de l'application
|
||||||
class Main
|
class Menu
|
||||||
# Controleur du menu de départ
|
# <b>Controleur du menu d'acceuil VueMenu</b>
|
||||||
def menu
|
def initialize
|
||||||
|
|
||||||
@v = VueMenu.new(self,"Menu")
|
@v = VueMenu.new(self,"Menu")
|
||||||
@v.getWindow.show_all # affichage
|
@v.getWindow.show_all # affichage
|
||||||
Gtk.main
|
Gtk.main
|
||||||
end
|
end
|
||||||
|
|
||||||
# Controleur historique
|
# <b>Acces au controleur CtrlHistoLink</b>
|
||||||
def histo
|
def histo
|
||||||
|
@v.getWindow.hide_all #cache le menu
|
||||||
c = CtrlHistoLink.new
|
c = CtrlHistoLink.new
|
||||||
urls = c.saisie
|
urls = c.saisie
|
||||||
|
@v.getWindow.show_all #reaffiche le menu
|
||||||
end
|
end
|
||||||
|
|
||||||
# Controleur vérification d'un fichier
|
# <b>Acces au controleur vérification d'un fichier CtrlCheckLinks</b>
|
||||||
def newVerifFile
|
def newVerifFile
|
||||||
|
@v.getWindow.hide_all #cache le menu
|
||||||
c = CtrlCheckLinks.new
|
c = CtrlCheckLinks.new
|
||||||
urls = c.saisie(1)
|
urls = c.saisie(1, 'Saisie nom fichier')
|
||||||
|
@v.getWindow.show_all #reaffiche le menu
|
||||||
end
|
end
|
||||||
|
|
||||||
# Controleur vérification d'un dossier
|
# <b>Acces au controleur vérification d'un dossier CtrlCheckLinks</b>
|
||||||
def newVerifDossier
|
def newVerifDossier
|
||||||
|
@v.getWindow.hide_all #cache le menu
|
||||||
c = CtrlCheckLinks.new
|
c = CtrlCheckLinks.new
|
||||||
urls = c.saisie(0)
|
urls = c.saisie(0, 'Saisie nom dossier')
|
||||||
|
@v.getWindow.show_all #reaffiche le menu
|
||||||
end
|
end
|
||||||
|
|
||||||
# Controleur permettant de detruire la vue menu
|
# <b>Controleur permettant de detruire la VueMenu</b>
|
||||||
def destructionMenu
|
def destructionMenu
|
||||||
@v.getWindow.destroy
|
@v.getWindow.destroy
|
||||||
Gtk.main_quit
|
Gtk.main_quit
|
||||||
@ -49,7 +54,6 @@ class Main
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
c = Main.new
|
Menu.new
|
||||||
c.menu
|
|
||||||
|
|
||||||
print "Termine\n"
|
print "Termine\n"
|
422
doc/rdoc/CtrlCheckLinks.html
Normal file
@ -0,0 +1,422 @@
|
|||||||
|
<?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: CtrlCheckLinks</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/CtrlCheckLinks_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="c/CtrlCheckLinks.rb">c/CtrlCheckLinks.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-recupUrls">#recupUrls</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-recupUrlsDoss">#recupUrlsDoss</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-saisie">#saisie</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-verifLiens">#verifLiens</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-vueResult">#vueResult</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">CtrlCheckLinks</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Controleur de la vérification de la validité des liens ainsi que la vue <a
|
||||||
|
href="Vue1.html">Vue1</a> et <a href="VueResult.html">VueResult</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 <a
|
||||||
|
href="Vue1.html">Vue1</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="destructionFen-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 34</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">destructionFen</span>
|
||||||
|
<span class="ruby-ivar">@v1</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="recupUrls-method" class="method-detail ">
|
||||||
|
<a name="method-i-recupUrls"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">recupUrls</span><span
|
||||||
|
class="method-args">(str)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur de recuperation et verification de liens dans 1 fichiers</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>string str : chemin d’accès au fichier à traiter</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="recupUrls-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 14</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">recupUrls</span>(<span class="ruby-identifier">str</span>)
|
||||||
|
<span class="ruby-identifier">f</span> = <span class="ruby-constant">ReadFile</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">str</span>)
|
||||||
|
<span class="ruby-ivar">@urls</span> = <span class="ruby-identifier">f</span>.<span class="ruby-identifier">getUrls</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">vueResult</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">verifLiens</span>(<span class="ruby-ivar">@urls</span>), <span class="ruby-identifier">str</span>)
|
||||||
|
<span class="ruby-identifier">s</span> = <span class="ruby-constant">CtrlHistoLink</span>.<span class="ruby-identifier">new</span> <span class="ruby-comment">#on enregistre dans l'histo le verif du lien</span>
|
||||||
|
<span class="ruby-identifier">s</span>.<span class="ruby-identifier">sauv</span>(<span class="ruby-identifier">str</span>, <span class="ruby-ivar">@urls</span>)
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- recupUrls-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- recupUrls-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="recupUrlsDoss-method" class="method-detail ">
|
||||||
|
<a name="method-i-recupUrlsDoss"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">recupUrlsDoss</span><span
|
||||||
|
class="method-args">(str)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur de recuperation et verification de liens dans 1 dossier</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>string str : chemin d’accès au fichier à traiter</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="recupUrlsDoss-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 23</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">recupUrlsDoss</span>(<span class="ruby-identifier">str</span>)
|
||||||
|
<span class="ruby-identifier">d</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">str</span>)
|
||||||
|
<span class="ruby-identifier">liste_exclus</span> = [<span class="ruby-string">"."</span>, <span class="ruby-string">".."</span>]
|
||||||
|
<span class="ruby-identifier">liste_dir</span> = <span class="ruby-identifier">d</span>.<span class="ruby-identifier">sort</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">liste_exclus</span>
|
||||||
|
<span class="ruby-identifier">liste_dir</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">fichier</span><span class="ruby-operator">|</span> <span class="ruby-comment">#pour chaque fichier touvé</span>
|
||||||
|
<span class="ruby-keyword">if</span> (<span class="ruby-constant">File</span>.<span class="ruby-identifier">ftype</span>(<span class="ruby-identifier">str</span> <span class="ruby-operator">+</span> <span class="ruby-string">"/"</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fichier</span>) <span class="ruby-operator">==</span> <span class="ruby-string">"file"</span>)
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">recupUrls</span>(<span class="ruby-identifier">str</span> <span class="ruby-operator">+</span> <span class="ruby-string">"/"</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">fichier</span>)
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- recupUrlsDoss-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- recupUrlsDoss-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">(type, title)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur de la saisie pour vérification de lien, controleur <a
|
||||||
|
href="Vue1.html">Vue1</a></b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>int type : permet de modifier la vue si 1 -> fichier sinon dossier</p>
|
||||||
|
</li><li>
|
||||||
|
<p>string title : titre fenetre de la vue qui va etre genere</p>
|
||||||
|
</li><li>
|
||||||
|
<p>return : String des urls trouvés</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="saisie-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 7</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">saisie</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">title</span>)
|
||||||
|
<span class="ruby-ivar">@v1</span> = <span class="ruby-constant">Vue1</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">type</span>) <span class="ruby-comment">#creation vue principal</span>
|
||||||
|
<span class="ruby-ivar">@v1</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="verifLiens-method" class="method-detail ">
|
||||||
|
<a name="method-i-verifLiens"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">verifLiens</span><span
|
||||||
|
class="method-args">(urls)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur de verification de liens</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>string[] : tableau des urls à vérifier</p>
|
||||||
|
</li><li>
|
||||||
|
<p>return : string contenant le resultat des pings</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="verifLiens-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 41</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">verifLiens</span>(<span class="ruby-identifier">urls</span>)
|
||||||
|
<span class="ruby-identifier">resultats</span> = <span class="ruby-string">""</span>
|
||||||
|
<span class="ruby-identifier">urls</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-comment"># pour chaque urls on realise un ping -> mise des resultats en chaine de caractere</span>
|
||||||
|
<span class="ruby-identifier">p</span> = <span class="ruby-constant">Net</span><span class="ruby-operator">::</span><span class="ruby-constant">Ping</span><span class="ruby-operator">::</span><span class="ruby-constant">HTTP</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">n</span> , <span class="ruby-value">80</span>, <span class="ruby-value">5</span>
|
||||||
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">ping?</span>
|
||||||
|
<span class="ruby-identifier">resultats</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"#{n} est vivant\n"</span>
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-identifier">resultats</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"#{n} est mort\n"</span>
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">resultats</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- verifLiens-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- verifLiens-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="vueResult-method" class="method-detail ">
|
||||||
|
<a name="method-i-vueResult"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">vueResult</span><span
|
||||||
|
class="method-args">(resultats, nom)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur permettant d'afficher la vue secondaire d'affichage de
|
||||||
|
resultats, controleur <a href="VueResult.html">VueResult</a></b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>string resultats : contient les resultats à affiché</p>
|
||||||
|
</li><li>
|
||||||
|
<p>string nom : nom du fichier qui contient les urls traités</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="vueResult-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/CtrlCheckLinks.rb, line 56</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">vueResult</span>(<span class="ruby-identifier">resultats</span>, <span class="ruby-identifier">nom</span>)
|
||||||
|
<span class="ruby-identifier">v</span> = <span class="ruby-constant">VueResult</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">resultats</span>, <span class="ruby-identifier">nom</span>)
|
||||||
|
<span class="ruby-identifier">v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">show_all</span>
|
||||||
|
<span class="ruby-constant">Gtk</span>.<span class="ruby-identifier">main</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- vueResult-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- vueResult-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>
|
||||||
|
|
317
doc/rdoc/CtrlHistoLink.html
Normal file
@ -0,0 +1,317 @@
|
|||||||
|
<?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>
|
||||||
|
|
356
doc/rdoc/Menu.html
Normal file
@ -0,0 +1,356 @@
|
|||||||
|
<?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: Menu</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/Main_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="c/Main.rb">c/Main.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-destructionMenu">#destructionMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-histo">#histo</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-newVerifDossier">#newVerifDossier</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-newVerifFile">#newVerifFile</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">Menu</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Controleur du menu principal de l’application</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Controleur du menu d'acceuil <a href="VueMenu.html">VueMenu</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/Main.rb, line 19</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
|
||||||
|
<span class="ruby-ivar">@v</span> = <span class="ruby-constant">VueMenu</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>,<span class="ruby-string">"Menu"</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><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="destructionMenu-method" class="method-detail ">
|
||||||
|
<a name="method-i-destructionMenu"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">destructionMenu</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 <a
|
||||||
|
href="VueMenu.html">VueMenu</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="destructionMenu-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/Main.rb, line 50</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">destructionMenu</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><!-- destructionMenu-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- destructionMenu-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="histo-method" class="method-detail ">
|
||||||
|
<a name="method-i-histo"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">histo</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Acces au controleur <a href="CtrlHistoLink.html">CtrlHistoLink</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="histo-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/Main.rb, line 26</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">histo</span>
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">hide_all</span> <span class="ruby-comment">#cache le menu</span>
|
||||||
|
<span class="ruby-identifier">c</span> = <span class="ruby-constant">CtrlHistoLink</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-identifier">urls</span> = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">saisie</span>
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">show_all</span> <span class="ruby-comment">#reaffiche le menu</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- histo-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- histo-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="newVerifDossier-method" class="method-detail ">
|
||||||
|
<a name="method-i-newVerifDossier"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">newVerifDossier</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Acces au controleur vérification d’un dossier <a
|
||||||
|
href="CtrlCheckLinks.html">CtrlCheckLinks</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="newVerifDossier-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/Main.rb, line 42</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">newVerifDossier</span>
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">hide_all</span> <span class="ruby-comment">#cache le menu</span>
|
||||||
|
<span class="ruby-identifier">c</span> = <span class="ruby-constant">CtrlCheckLinks</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-identifier">urls</span> = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">saisie</span>(<span class="ruby-value">0</span>, <span class="ruby-string">'Saisie nom dossier'</span>)
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">show_all</span> <span class="ruby-comment">#reaffiche le menu</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- newVerifDossier-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- newVerifDossier-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="newVerifFile-method" class="method-detail ">
|
||||||
|
<a name="method-i-newVerifFile"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">newVerifFile</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Acces au controleur vérification d’un fichier <a
|
||||||
|
href="CtrlCheckLinks.html">CtrlCheckLinks</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="newVerifFile-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File c/Main.rb, line 34</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">newVerifFile</span>
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">hide_all</span> <span class="ruby-comment">#cache le menu</span>
|
||||||
|
<span class="ruby-identifier">c</span> = <span class="ruby-constant">CtrlCheckLinks</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-identifier">urls</span> = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">saisie</span>(<span class="ruby-value">1</span>, <span class="ruby-string">'Saisie nom fichier'</span>)
|
||||||
|
<span class="ruby-ivar">@v</span>.<span class="ruby-identifier">getWindow</span>.<span class="ruby-identifier">show_all</span> <span class="ruby-comment">#reaffiche le menu</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- newVerifFile-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- newVerifFile-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>
|
||||||
|
|
284
doc/rdoc/ReadFile.html
Normal file
@ -0,0 +1,284 @@
|
|||||||
|
<?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: ReadFile</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="./m/ReadFile_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="m/ReadFile.rb">m/ReadFile.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-getALL">#getALL</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-getUrls">#getUrls</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">ReadFile</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Classe permettant l’acces et la recuperation des données dans les fichiers</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">(pFic)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Ouverture d'un fichier en lecture</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>String pFic : chemin de fichier à ouvrir</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File m/ReadFile.rb, line 5</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">pFic</span>)
|
||||||
|
<span class="ruby-ivar">@fic</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">pFic</span>, <span class="ruby-string">"r"</span>)
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="getALL-method" class="method-detail ">
|
||||||
|
<a name="method-i-getALL"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">getALL</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Revoit tout le contenu d'un fichier sous forme d'une chaine de
|
||||||
|
caractere</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>return : string contenant tout le texte du fichier</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="getALL-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File m/ReadFile.rb, line 10</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">getALL</span>
|
||||||
|
<span class="ruby-identifier">all</span> = <span class="ruby-ivar">@fic</span>.<span class="ruby-identifier">read</span>
|
||||||
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">all</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- getALL-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- getALL-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="getUrls-method" class="method-detail ">
|
||||||
|
<a name="method-i-getUrls"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">getUrls</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Sort les URLs d'un fichier</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>return : string[] contenant tout les liens http/https du fichier</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="getUrls-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File m/ReadFile.rb, line 16</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">getUrls</span>
|
||||||
|
<span class="ruby-identifier">txt</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">getALL</span>
|
||||||
|
<span class="ruby-identifier">url</span> = <span class="ruby-constant">URI</span><span class="ruby-operator">::</span><span class="ruby-identifier">extract</span>(<span class="ruby-identifier">txt</span>, <span class="ruby-regexp">/http(s)?/</span>)
|
||||||
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">url</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- getUrls-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- getUrls-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>
|
||||||
|
|
340
doc/rdoc/Vue1.html
Normal file
@ -0,0 +1,340 @@
|
|||||||
|
<?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: Vue1</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="./v/Vue1_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="v/Vue1.rb">v/Vue1.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerBouton">#listenerBouton</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerDestroy">#listenerDestroy</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">Vue1</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Classe creation de la vue de sélection de fichier ou dossier</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">(ctrl, title, type)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Creation de la vue</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p><a href="CtrlCheckLinks.html">CtrlCheckLinks</a> ctrl : controleur de la
|
||||||
|
vue</p>
|
||||||
|
</li><li>
|
||||||
|
<p>String title : titre de la vue</p>
|
||||||
|
</li><li>
|
||||||
|
<p>int type : vue pour un fichier (==1) sinon pour un dossier</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/Vue1.rb, line 7</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ctrl</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">type</span>)
|
||||||
|
<span class="ruby-ivar">@ctrl</span> = <span class="ruby-identifier">ctrl</span>
|
||||||
|
<span class="ruby-comment">#fenenetre generale</span>
|
||||||
|
<span class="ruby-ivar">@window</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">set_title</span>(<span class="ruby-identifier">title</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#declaration des differents widgets</span>
|
||||||
|
<span class="ruby-identifier">vb</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">VBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
<span class="ruby-identifier">bot</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">HBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">false</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation de label pour la saisie</span>
|
||||||
|
<span class="ruby-identifier">lab</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Label</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'Chemin :'</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">lab</span>, <span class="ruby-keyword">false</span>, <span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation du champ de saisie</span>
|
||||||
|
<span class="ruby-comment">#@nom = Gtk::Entry.new</span>
|
||||||
|
<span class="ruby-keyword">if</span> (<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>)
|
||||||
|
<span class="ruby-ivar">@nom</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooserButton</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">"choisir un fichier"</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooser</span><span class="ruby-operator">::</span><span class="ruby-constant">ACTION_OPEN</span>)
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-ivar">@nom</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooserButton</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">"choisir un dossier "</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooser</span><span class="ruby-operator">::</span><span class="ruby-constant">ACTION_SELECT_FOLDER</span>)
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
<span class="ruby-ivar">@nom</span>.<span class="ruby-identifier">set_current_folder</span>(<span class="ruby-string">"../fichier"</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@nom</span>, <span class="ruby-keyword">true</span>, <span class="ruby-keyword">true</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation bouton de validation</span>
|
||||||
|
<span class="ruby-ivar">@b</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'OK'</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@b</span>)
|
||||||
|
<span class="ruby-identifier">vb</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">bot</span>)
|
||||||
|
<span class="ruby-comment">##############################</span>
|
||||||
|
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">vb</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment"># Abbonement fenetre au Listener</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerBouton</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerBouton-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerBouton"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerBouton</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener appuie bouton validation -> test liens fichier </b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerBouton-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/Vue1.rb, line 60</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerBouton</span>
|
||||||
|
<span class="ruby-ivar">@chaine</span> = <span class="ruby-string">" "</span>
|
||||||
|
<span class="ruby-ivar">@b</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'clicked'</span>){
|
||||||
|
<span class="ruby-ivar">@chaine</span> = <span class="ruby-ivar">@nom</span>.<span class="ruby-identifier">filename</span>
|
||||||
|
<span class="ruby-keyword">if</span> (<span class="ruby-ivar">@chaine</span> <span class="ruby-operator">==</span><span class="ruby-string">""</span>) <span class="ruby-comment">#gestion saisie vide</span>
|
||||||
|
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">BUTTONS_CLOSE</span>,
|
||||||
|
<span class="ruby-string">"Erreur : Veuillez saisir un fichier ou dossier !"</span>)
|
||||||
|
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">run</span>
|
||||||
|
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">destroy</span>
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-keyword">if</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@chaine</span>)) <span class="ruby-comment">#si c'est un dossier -> utilisation du controleur adéquat</span>
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">recupUrlsDoss</span>(<span class="ruby-ivar">@chaine</span>)
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-keyword">if</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-ivar">@chaine</span>)) <span class="ruby-comment">#si c'est un fichier -> existant utilisation du controleur adéquat</span>
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">recupUrls</span>(<span class="ruby-ivar">@chaine</span>)
|
||||||
|
<span class="ruby-keyword">else</span> <span class="ruby-comment">#gestion saisie invalide</span>
|
||||||
|
<span class="ruby-identifier">d</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">BUTTONS_CLOSE</span>,
|
||||||
|
<span class="ruby-string">"Erreur : Fichier ou dossier inexistant !"</span>)
|
||||||
|
<span class="ruby-identifier">d</span>.<span class="ruby-identifier">run</span>
|
||||||
|
<span class="ruby-identifier">d</span>.<span class="ruby-identifier">destroy</span>
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerBouton-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerBouton-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerDestroy-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerDestroy"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerDestroy</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener fermeture fenetre</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerDestroy-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/Vue1.rb, line 53</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'destroy'</span>) {
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">destructionFen</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerDestroy-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerDestroy-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>
|
||||||
|
|
329
doc/rdoc/VueHisto.html
Normal file
@ -0,0 +1,329 @@
|
|||||||
|
<?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: VueHisto</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="./v/VueHisto_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="v/VueHisto.rb">v/VueHisto.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerBouton">#listenerBouton</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerDestroy">#listenerDestroy</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">VueHisto</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Classe creation de la vue permettant d’aceder a l’historique</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">(ctrl, title)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Creation de la vue</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>CtrlCheckHisto ctrl : controleur de la vue</p>
|
||||||
|
</li><li>
|
||||||
|
<p>String title : titre de la vue</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueHisto.rb, line 6</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ctrl</span>, <span class="ruby-identifier">title</span>)
|
||||||
|
<span class="ruby-ivar">@ctrl</span> = <span class="ruby-identifier">ctrl</span>
|
||||||
|
<span class="ruby-comment">#fenenetre generale</span>
|
||||||
|
<span class="ruby-ivar">@window</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">set_title</span>(<span class="ruby-identifier">title</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#declaration des differents widgets</span>
|
||||||
|
<span class="ruby-identifier">vb</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">VBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
<span class="ruby-identifier">bot</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">HBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">false</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation label pour la saisie</span>
|
||||||
|
<span class="ruby-identifier">lab</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Label</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'Chemin du fichier a rejouer :'</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">lab</span>, <span class="ruby-keyword">false</span>, <span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation champ de saisie</span>
|
||||||
|
<span class="ruby-ivar">@nom</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooserButton</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">"choisir un fichier"</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">FileChooser</span><span class="ruby-operator">::</span><span class="ruby-constant">ACTION_OPEN</span>)
|
||||||
|
<span class="ruby-ivar">@nom</span>.<span class="ruby-identifier">set_current_folder</span>(<span class="ruby-string">"../sauv"</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@nom</span>, <span class="ruby-keyword">true</span>, <span class="ruby-keyword">true</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation bouton de validation</span>
|
||||||
|
<span class="ruby-ivar">@b</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'OK'</span>)
|
||||||
|
<span class="ruby-identifier">bot</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@b</span>)
|
||||||
|
<span class="ruby-identifier">vb</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">bot</span>)
|
||||||
|
<span class="ruby-comment">##############################</span>
|
||||||
|
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">vb</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment"># Abbonement fenetre au Listener</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerBouton</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerBouton-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerBouton"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerBouton</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener appuie bouton validation -> test liens fichier </b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerBouton-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueHisto.rb, line 54</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerBouton</span>
|
||||||
|
<span class="ruby-ivar">@chaine</span> = <span class="ruby-string">" "</span>
|
||||||
|
<span class="ruby-ivar">@b</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'clicked'</span>){
|
||||||
|
<span class="ruby-ivar">@chaine</span> = <span class="ruby-ivar">@nom</span>.<span class="ruby-identifier">filename</span>
|
||||||
|
<span class="ruby-keyword">if</span> (<span class="ruby-ivar">@chaine</span> <span class="ruby-operator">==</span><span class="ruby-string">""</span>) <span class="ruby-comment">#gestion saisie vide</span>
|
||||||
|
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">BUTTONS_CLOSE</span>,
|
||||||
|
<span class="ruby-string">"Erreur : Veuillez saisir un fichier !"</span>)
|
||||||
|
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">run</span>
|
||||||
|
<span class="ruby-identifier">m</span>.<span class="ruby-identifier">destroy</span>
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-keyword">if</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-ivar">@chaine</span>)) <span class="ruby-comment">#si c'est un fichier existant utilisation du controleur adéquat</span>
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">rejouer</span>(<span class="ruby-ivar">@chaine</span>)
|
||||||
|
<span class="ruby-keyword">else</span> <span class="ruby-comment">#gestion saisie invalide</span>
|
||||||
|
<span class="ruby-identifier">d</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Dialog</span><span class="ruby-operator">::</span><span class="ruby-constant">DESTROY_WITH_PARENT</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">ERROR</span>,
|
||||||
|
<span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">MessageDialog</span><span class="ruby-operator">::</span><span class="ruby-constant">BUTTONS_CLOSE</span>,
|
||||||
|
<span class="ruby-string">"Erreur : Fichier inexistant !"</span>)
|
||||||
|
<span class="ruby-identifier">d</span>.<span class="ruby-identifier">run</span>
|
||||||
|
<span class="ruby-identifier">d</span>.<span class="ruby-identifier">destroy</span>
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerBouton-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerBouton-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerDestroy-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerDestroy"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerDestroy</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener fermeture fenetre</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerDestroy-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueHisto.rb, line 47</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'destroy'</span>) {
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">destructionFen</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerDestroy-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerDestroy-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>
|
||||||
|
|
383
doc/rdoc/VueMenu.html
Normal file
@ -0,0 +1,383 @@
|
|||||||
|
<?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: VueMenu</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="./v/VueMenu_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="v/VueMenu.rb">v/VueMenu.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerBoutonHisto">#listenerBoutonHisto</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerBoutonNewDossier">#listenerBoutonNewDossier</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerBoutonNewFile">#listenerBoutonNewFile</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerDestroy">#listenerDestroy</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">VueMenu</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Classe creation vue du menu</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">(ctrl, title)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Creation de la vue</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p><a href="Menu.html">Menu</a> ctrl : controleur de la vue</p>
|
||||||
|
</li><li>
|
||||||
|
<p>String title : titre de la vue</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueMenu.rb, line 6</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ctrl</span>, <span class="ruby-identifier">title</span>)
|
||||||
|
<span class="ruby-ivar">@ctrl</span> = <span class="ruby-identifier">ctrl</span>
|
||||||
|
<span class="ruby-comment">#fenenetre generale</span>
|
||||||
|
<span class="ruby-ivar">@window</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">set_title</span>(<span class="ruby-identifier">title</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#declaration des differents widgets</span>
|
||||||
|
<span class="ruby-identifier">vb</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">VBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
<span class="ruby-identifier">top</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">HBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">false</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation boutons</span>
|
||||||
|
<span class="ruby-ivar">@newFile</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'Nouveau test fichier'</span>)
|
||||||
|
<span class="ruby-ivar">@newDoss</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'Nouveau test dossier'</span>)
|
||||||
|
<span class="ruby-ivar">@histo</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'Histo'</span>)
|
||||||
|
|
||||||
|
<span class="ruby-identifier">top</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@newFile</span>)
|
||||||
|
<span class="ruby-identifier">top</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@newDoss</span>)
|
||||||
|
<span class="ruby-identifier">top</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-ivar">@histo</span>)
|
||||||
|
<span class="ruby-identifier">vb</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">top</span>)
|
||||||
|
<span class="ruby-comment">##############################</span>
|
||||||
|
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">vb</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment"># Abbonement fenetre au Listener</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerBoutonNewFile</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerBoutonNewDossier</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerBoutonHisto</span>
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerBoutonHisto-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerBoutonHisto"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerBoutonHisto</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener appuie bouton validation pour rejouer un fichier dans de
|
||||||
|
l'historique</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerBoutonHisto-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueMenu.rb, line 54</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerBoutonHisto</span>
|
||||||
|
<span class="ruby-ivar">@histo</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'clicked'</span>){
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">histo</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerBoutonHisto-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerBoutonHisto-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerBoutonNewDossier-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerBoutonNewDossier"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerBoutonNewDossier</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener appuie bouton validation nouvelle vérification de 1 dossier</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerBoutonNewDossier-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueMenu.rb, line 48</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerBoutonNewDossier</span>
|
||||||
|
<span class="ruby-ivar">@newDoss</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'clicked'</span>){
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">newVerifDossier</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerBoutonNewDossier-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerBoutonNewDossier-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerBoutonNewFile-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerBoutonNewFile"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerBoutonNewFile</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener appuie bouton nouvelle vérification de 1 fichier</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerBoutonNewFile-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueMenu.rb, line 42</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerBoutonNewFile</span>
|
||||||
|
<span class="ruby-ivar">@newFile</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'clicked'</span>){
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">newVerifFile</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerBoutonNewFile-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerBoutonNewFile-method -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerDestroy-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerDestroy"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerDestroy</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener fermeture fenetre <a href="Menu.html">Menu</a></b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerDestroy-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueMenu.rb, line 60</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'destroy'</span>) {
|
||||||
|
<span class="ruby-ivar">@ctrl</span>.<span class="ruby-identifier">destructionMenu</span>
|
||||||
|
}
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- listenerDestroy-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerDestroy-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>
|
||||||
|
|
263
doc/rdoc/VueResult.html
Normal file
@ -0,0 +1,263 @@
|
|||||||
|
<?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: VueResult</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="./v/VueResult_rb.html?TB_iframe=true&height=550&width=785"
|
||||||
|
class="thickbox" title="v/VueResult.rb">v/VueResult.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-c-new">::new</a></li>
|
||||||
|
|
||||||
|
<li><a href="#method-i-listenerDestroy">#listenerDestroy</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">VueResult</h1>
|
||||||
|
|
||||||
|
<div id="description" class="description">
|
||||||
|
|
||||||
|
<p>Classe creation de la vue des resultats</p>
|
||||||
|
|
||||||
|
</div><!-- description -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="5Buntitled-5D" class="documentation-section">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Methods -->
|
||||||
|
|
||||||
|
<div id="public-class-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Class Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="new-method" class="method-detail ">
|
||||||
|
<a name="method-c-new"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">new</span><span
|
||||||
|
class="method-args">(liste_result, title)</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Creation de la vue</b></p>
|
||||||
|
<ul><li>
|
||||||
|
<p>String liste_result : contient les resultats a afficher</p>
|
||||||
|
</li><li>
|
||||||
|
<p>String title : titre de la vue</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="new-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueResult.rb, line 6</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">liste_result</span>, <span class="ruby-identifier">title</span>)
|
||||||
|
<span class="ruby-comment">#fenenetre generale</span>
|
||||||
|
<span class="ruby-ivar">@window</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Window</span>.<span class="ruby-identifier">new</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">set_title</span>(<span class="ruby-identifier">title</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#declaration des differents widgets</span>
|
||||||
|
<span class="ruby-identifier">vb</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">VBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
<span class="ruby-identifier">vh</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">HBox</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">false</span>, <span class="ruby-value">6</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment">#creation label resultat</span>
|
||||||
|
<span class="ruby-keyword">if</span>(<span class="ruby-identifier">liste_result</span> <span class="ruby-operator">!=</span> <span class="ruby-string">""</span>)
|
||||||
|
<span class="ruby-identifier">res</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Label</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">liste_result</span>)
|
||||||
|
<span class="ruby-keyword">else</span>
|
||||||
|
<span class="ruby-identifier">res</span> = <span class="ruby-constant">Gtk</span><span class="ruby-operator">::</span><span class="ruby-constant">Label</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">"Pas de liens trouves"</span>)
|
||||||
|
<span class="ruby-keyword">end</span>
|
||||||
|
<span class="ruby-identifier">vh</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">res</span>, <span class="ruby-keyword">false</span>, <span class="ruby-keyword">true</span>, <span class="ruby-value">6</span>)
|
||||||
|
<span class="ruby-identifier">vb</span>.<span class="ruby-identifier">pack_start</span>(<span class="ruby-identifier">vh</span>)
|
||||||
|
|
||||||
|
<span class="ruby-comment"># Abbonement fenetre au Listener</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">vb</span>)
|
||||||
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-keyword">end</span></pre>
|
||||||
|
</div><!-- new-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- new-method -->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- public-class-method-details -->
|
||||||
|
|
||||||
|
<div id="public-instance-method-details" class="method-section section">
|
||||||
|
<h3 class="section-header">Public Instance Methods</h3>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="listenerDestroy-method" class="method-detail ">
|
||||||
|
<a name="method-i-listenerDestroy"></a>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-heading">
|
||||||
|
<span class="method-name">listenerDestroy</span><span
|
||||||
|
class="method-args">()</span>
|
||||||
|
<span class="method-click-advice">click to toggle source</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-description">
|
||||||
|
|
||||||
|
<p><b>Listener fermeture Resultat</b></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="method-source-code" id="listenerDestroy-source">
|
||||||
|
<pre>
|
||||||
|
<span class="ruby-comment"># File v/VueResult.rb, line 34</span>
|
||||||
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">listenerDestroy</span>
|
||||||
|
<span class="ruby-ivar">@window</span>.<span class="ruby-identifier">signal_connect</span>(<span class="ruby-string">'destroy'</span>) {
|
||||||
|
<span class="ruby-ivar">@window</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><!-- listenerDestroy-source -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- listenerDestroy-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>
|
||||||
|
|
55
doc/rdoc/c/CtrlCheckLinks_rb.html
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
<?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>File: CtrlCheckLinks.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:14:28 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Controleur de la vérification de la validité des liens ainsi que la vue <a
|
||||||
|
href="../Vue1.html">Vue1</a> et <a href="../VueResult.html">VueResult</a></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
55
doc/rdoc/c/CtrlHistoLink_rb.html
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
<?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>File: CtrlHistoLink.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:14:51 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe permettant de gzrer l’historique de fichier traité et la vue <a
|
||||||
|
href="../VueHisto.html">VueHisto</a></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
72
doc/rdoc/c/Main_rb.html
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
<?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>File: Main.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:15:20 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>gtk2</li>
|
||||||
|
|
||||||
|
<li>net/ping</li>
|
||||||
|
|
||||||
|
<li>./CtrlCheckLinks</li>
|
||||||
|
|
||||||
|
<li>./CtrlHistoLink</li>
|
||||||
|
|
||||||
|
<li>../m/ReadFile</li>
|
||||||
|
|
||||||
|
<li>../v/Vue1</li>
|
||||||
|
|
||||||
|
<li>../v/VueResult</li>
|
||||||
|
|
||||||
|
<li>../v/VueMenu</li>
|
||||||
|
|
||||||
|
<li>../v/VueHisto</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>lib</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
52
doc/rdoc/c/hello_rb.html
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?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>File: hello.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2013-12-20 08:13:20 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
10
doc/rdoc/created.rid
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Fri, 17 Jan 2014 09:17:21 +0100
|
||||||
|
./m/ReadFile.rb Fri, 17 Jan 2014 09:15:38 +0100
|
||||||
|
./c/Main.rb Fri, 17 Jan 2014 09:15:20 +0100
|
||||||
|
./c/hello.rb Fri, 20 Dec 2013 08:13:20 +0100
|
||||||
|
./c/CtrlCheckLinks.rb Fri, 17 Jan 2014 09:14:28 +0100
|
||||||
|
./c/CtrlHistoLink.rb Fri, 17 Jan 2014 09:14:51 +0100
|
||||||
|
./v/Vue1.rb Fri, 17 Jan 2014 09:16:01 +0100
|
||||||
|
./v/VueHisto.rb Fri, 17 Jan 2014 09:16:27 +0100
|
||||||
|
./v/VueResult.rb Fri, 17 Jan 2014 09:17:09 +0100
|
||||||
|
./v/VueMenu.rb Fri, 17 Jan 2014 09:16:56 +0100
|
BIN
doc/rdoc/images/brick.png
Normal file
After Width: | Height: | Size: 452 B |
BIN
doc/rdoc/images/brick_link.png
Normal file
After Width: | Height: | Size: 699 B |
BIN
doc/rdoc/images/bug.png
Normal file
After Width: | Height: | Size: 714 B |
BIN
doc/rdoc/images/bullet_black.png
Normal file
After Width: | Height: | Size: 211 B |
BIN
doc/rdoc/images/bullet_toggle_minus.png
Normal file
After Width: | Height: | Size: 207 B |
BIN
doc/rdoc/images/bullet_toggle_plus.png
Normal file
After Width: | Height: | Size: 209 B |
BIN
doc/rdoc/images/date.png
Normal file
After Width: | Height: | Size: 570 B |
BIN
doc/rdoc/images/find.png
Normal file
After Width: | Height: | Size: 604 B |
BIN
doc/rdoc/images/loadingAnimation.gif
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
doc/rdoc/images/macFFBgHack.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
doc/rdoc/images/package.png
Normal file
After Width: | Height: | Size: 845 B |
BIN
doc/rdoc/images/page_green.png
Normal file
After Width: | Height: | Size: 621 B |
BIN
doc/rdoc/images/page_white_text.png
Normal file
After Width: | Height: | Size: 342 B |
BIN
doc/rdoc/images/page_white_width.png
Normal file
After Width: | Height: | Size: 309 B |
BIN
doc/rdoc/images/plugin.png
Normal file
After Width: | Height: | Size: 591 B |
BIN
doc/rdoc/images/ruby.png
Normal file
After Width: | Height: | Size: 535 B |
BIN
doc/rdoc/images/tag_green.png
Normal file
After Width: | Height: | Size: 556 B |
BIN
doc/rdoc/images/wrench.png
Normal file
After Width: | Height: | Size: 551 B |
BIN
doc/rdoc/images/wrench_orange.png
Normal file
After Width: | Height: | Size: 526 B |
BIN
doc/rdoc/images/zoom.png
Normal file
After Width: | Height: | Size: 662 B |
125
doc/rdoc/index.html
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
<head>
|
||||||
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||||
|
|
||||||
|
<title>RDoc Documentation</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="indexpage">
|
||||||
|
|
||||||
|
|
||||||
|
<h1>RDoc Documentation</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<p>This is the API documentation for 'RDoc Documentation'.</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h2 id="classes">Classes/Modules</h2>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li class="class"><a href="CtrlCheckLinks.html">CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="CtrlHistoLink.html">CtrlHistoLink</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="Menu.html">Menu</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="ReadFile.html">ReadFile</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="Vue1.html">Vue1</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="VueHisto.html">VueHisto</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="VueMenu.html">VueMenu</a></li>
|
||||||
|
|
||||||
|
<li class="class"><a href="VueResult.html">VueResult</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="methods">Methods</h2>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li><a href="ReadFile.html#method-c-new">::new — ReadFile</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueResult.html#method-c-new">::new — VueResult</a></li>
|
||||||
|
|
||||||
|
<li><a href="Vue1.html#method-c-new">::new — Vue1</a></li>
|
||||||
|
|
||||||
|
<li><a href="Menu.html#method-c-new">::new — Menu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueMenu.html#method-c-new">::new — VueMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueHisto.html#method-c-new">::new — VueHisto</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-destructionFen">#destructionFen — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlHistoLink.html#method-i-destructionFen">#destructionFen — CtrlHistoLink</a></li>
|
||||||
|
|
||||||
|
<li><a href="Menu.html#method-i-destructionMenu">#destructionMenu — Menu</a></li>
|
||||||
|
|
||||||
|
<li><a href="ReadFile.html#method-i-getALL">#getALL — ReadFile</a></li>
|
||||||
|
|
||||||
|
<li><a href="ReadFile.html#method-i-getUrls">#getUrls — ReadFile</a></li>
|
||||||
|
|
||||||
|
<li><a href="Menu.html#method-i-histo">#histo — Menu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueHisto.html#method-i-listenerBouton">#listenerBouton — VueHisto</a></li>
|
||||||
|
|
||||||
|
<li><a href="Vue1.html#method-i-listenerBouton">#listenerBouton — Vue1</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueMenu.html#method-i-listenerBoutonHisto">#listenerBoutonHisto — VueMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueMenu.html#method-i-listenerBoutonNewDossier">#listenerBoutonNewDossier — VueMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueMenu.html#method-i-listenerBoutonNewFile">#listenerBoutonNewFile — VueMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueResult.html#method-i-listenerDestroy">#listenerDestroy — VueResult</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueHisto.html#method-i-listenerDestroy">#listenerDestroy — VueHisto</a></li>
|
||||||
|
|
||||||
|
<li><a href="Vue1.html#method-i-listenerDestroy">#listenerDestroy — Vue1</a></li>
|
||||||
|
|
||||||
|
<li><a href="VueMenu.html#method-i-listenerDestroy">#listenerDestroy — VueMenu</a></li>
|
||||||
|
|
||||||
|
<li><a href="Menu.html#method-i-newVerifDossier">#newVerifDossier — Menu</a></li>
|
||||||
|
|
||||||
|
<li><a href="Menu.html#method-i-newVerifFile">#newVerifFile — Menu</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-recupUrls">#recupUrls — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-recupUrlsDoss">#recupUrlsDoss — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlHistoLink.html#method-i-rejouer">#rejouer — CtrlHistoLink</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlHistoLink.html#method-i-saisie">#saisie — CtrlHistoLink</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-saisie">#saisie — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlHistoLink.html#method-i-sauv">#sauv — CtrlHistoLink</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-verifLiens">#verifLiens — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
<li><a href="CtrlCheckLinks.html#method-i-vueResult">#vueResult — CtrlCheckLinks</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<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>
|
54
doc/rdoc/m/ReadFile_rb.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?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>File: ReadFile.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:15:38 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe permettant l’acces et la recuperation des données dans les fichiers</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
763
doc/rdoc/rdoc.css
Normal file
@ -0,0 +1,763 @@
|
|||||||
|
/*
|
||||||
|
* "Darkfish" Rdoc CSS
|
||||||
|
* $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
|
||||||
|
*
|
||||||
|
* Author: Michael Granger <ged@FaerieMUD.org>
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Base Green is: #6C8C22 */
|
||||||
|
|
||||||
|
*{ padding: 0; margin: 0; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #efefef;
|
||||||
|
font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
|
||||||
|
}
|
||||||
|
body.class, body.module, body.file {
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
body.file-popup {
|
||||||
|
font-size: 90%;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 300%;
|
||||||
|
text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
|
||||||
|
color: #6C8C22;
|
||||||
|
}
|
||||||
|
h2,h3,h4 { margin-top: 1.5em; }
|
||||||
|
|
||||||
|
:link,
|
||||||
|
:visited {
|
||||||
|
color: #6C8C22;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
:link:hover,
|
||||||
|
:visited:hover {
|
||||||
|
border-bottom: 1px dotted #6C8C22;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background: #ddd;
|
||||||
|
padding: 0.5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* @group Generic Classes */
|
||||||
|
|
||||||
|
.initially-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quicksearch-field {
|
||||||
|
width: 98%;
|
||||||
|
background: #ddd;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
height: 1.5em;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
}
|
||||||
|
.quicksearch-field:focus {
|
||||||
|
background: #f1edba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.missing-docs {
|
||||||
|
font-size: 120%;
|
||||||
|
background: white url(images/wrench_orange.png) no-repeat 4px center;
|
||||||
|
color: #ccc;
|
||||||
|
line-height: 2em;
|
||||||
|
border: 1px solid #d00;
|
||||||
|
opacity: 1;
|
||||||
|
padding-left: 20px;
|
||||||
|
text-indent: 24px;
|
||||||
|
letter-spacing: 3px;
|
||||||
|
font-weight: bold;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.target-section {
|
||||||
|
border: 2px solid #dcce90;
|
||||||
|
border-left-width: 8px;
|
||||||
|
padding: 0 1em;
|
||||||
|
background: #fff3c2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
/* @group Index Page, Standalone file pages */
|
||||||
|
body.indexpage {
|
||||||
|
margin: 1em 3em;
|
||||||
|
}
|
||||||
|
body.indexpage p,
|
||||||
|
body.indexpage div,
|
||||||
|
body.file p {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage .rdoc-list p, .file .rdoc-list p {
|
||||||
|
margin: 0em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage ol,
|
||||||
|
.file #documentation ol {
|
||||||
|
line-height: 160%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage ul,
|
||||||
|
.file #documentation ul {
|
||||||
|
line-height: 160%;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
.indexpage ul :link,
|
||||||
|
.indexpage ul :visited {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage li,
|
||||||
|
.file #documentation li {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage ol,
|
||||||
|
.file #documentation ol {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage ol > li,
|
||||||
|
.file #documentation ol > li {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indexpage ul > li,
|
||||||
|
.file #documentation ul > li {
|
||||||
|
background: url(images/bullet_black.png) no-repeat left 4px;
|
||||||
|
}
|
||||||
|
.indexpage li.module {
|
||||||
|
background: url(images/package.png) no-repeat left 4px;
|
||||||
|
}
|
||||||
|
.indexpage li.class {
|
||||||
|
background: url(images/ruby.png) no-repeat left 4px;
|
||||||
|
}
|
||||||
|
.indexpage li.file {
|
||||||
|
background: url(images/page_white_text.png) no-repeat left 4px;
|
||||||
|
}
|
||||||
|
.file li p,
|
||||||
|
.indexpage li p {
|
||||||
|
margin: 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
/* @group Top-Level Structure */
|
||||||
|
|
||||||
|
.class #metadata,
|
||||||
|
.file #metadata,
|
||||||
|
.module #metadata {
|
||||||
|
float: left;
|
||||||
|
width: 260px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.class #documentation,
|
||||||
|
.file #documentation,
|
||||||
|
.module #documentation {
|
||||||
|
margin: 2em 1em 5em 300px;
|
||||||
|
min-width: 340px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.file #metadata {
|
||||||
|
margin: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#validator-badges {
|
||||||
|
clear: both;
|
||||||
|
margin: 1em 1em 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
/* @group Metadata Section */
|
||||||
|
#metadata .section {
|
||||||
|
background-color: #dedede;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
margin: 0 8px 16px;
|
||||||
|
font-size: 90%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
#metadata h3.section-header {
|
||||||
|
margin: 0;
|
||||||
|
padding: 2px 8px;
|
||||||
|
background: #ccc;
|
||||||
|
color: #666;
|
||||||
|
-moz-border-radius-topleft: 4px;
|
||||||
|
-moz-border-radius-topright: 4px;
|
||||||
|
-webkit-border-top-left-radius: 4px;
|
||||||
|
-webkit-border-top-right-radius: 4px;
|
||||||
|
border-bottom: 1px solid #aaa;
|
||||||
|
}
|
||||||
|
#metadata #home-section h3.section-header {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#metadata ul,
|
||||||
|
#metadata dl,
|
||||||
|
#metadata p {
|
||||||
|
padding: 8px;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#file-metadata ul {
|
||||||
|
padding-left: 28px;
|
||||||
|
list-style-image: url(images/page_green.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
dl.svninfo {
|
||||||
|
color: #666;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
dl.svninfo dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.link-list li {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
ul.link-list .type {
|
||||||
|
font-size: 8px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: white;
|
||||||
|
background: #969696;
|
||||||
|
padding: 2px 4px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
/* @group Project Metadata Section */
|
||||||
|
#project-metadata {
|
||||||
|
margin-top: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.file #project-metadata {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#project-metadata .section {
|
||||||
|
border: 1px solid #aaa;
|
||||||
|
}
|
||||||
|
#project-metadata h3.section-header {
|
||||||
|
border-bottom: 1px solid #aaa;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
#project-metadata h3.section-header .search-toggle {
|
||||||
|
position: absolute;
|
||||||
|
right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#project-metadata form {
|
||||||
|
color: #777;
|
||||||
|
background: #ccc;
|
||||||
|
padding: 8px 8px 16px;
|
||||||
|
border-bottom: 1px solid #bbb;
|
||||||
|
}
|
||||||
|
#project-metadata fieldset {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#no-class-search-results {
|
||||||
|
margin: 0 auto 1em;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
/* @group Documentation Section */
|
||||||
|
.description {
|
||||||
|
font-size: 100%;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description p {
|
||||||
|
margin: 1em 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description li p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description ul {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
}
|
||||||
|
.description ul li {
|
||||||
|
line-height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description dl,
|
||||||
|
#documentation dl {
|
||||||
|
margin: 8px 1.5em;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
.description dl {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description dt,
|
||||||
|
#documentation dt {
|
||||||
|
padding: 2px 4px;
|
||||||
|
font-weight: bold;
|
||||||
|
background: #ddd;
|
||||||
|
}
|
||||||
|
.description dd,
|
||||||
|
#documentation dd {
|
||||||
|
padding: 2px 12px;
|
||||||
|
}
|
||||||
|
.description dd + dt,
|
||||||
|
#documentation dd + dt {
|
||||||
|
margin-top: 0.7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .section {
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation h2.section-header {
|
||||||
|
margin-top: 2em;
|
||||||
|
padding: 0.75em 0.5em;
|
||||||
|
background: #ccc;
|
||||||
|
color: #333;
|
||||||
|
font-size: 175%;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation h3.section-header {
|
||||||
|
margin-top: 2em;
|
||||||
|
padding: 0.25em 0.5em;
|
||||||
|
background-color: #dedede;
|
||||||
|
color: #333;
|
||||||
|
font-size: 150%;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#constants-list > dl,
|
||||||
|
#attributes-list > dl {
|
||||||
|
margin: 1em 0 2em;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
#constants-list > dl dt,
|
||||||
|
#attributes-list > dl dt {
|
||||||
|
padding-left: 0;
|
||||||
|
font-weight: bold;
|
||||||
|
font-family: Monaco, "Andale Mono";
|
||||||
|
background: inherit;
|
||||||
|
}
|
||||||
|
#constants-list > dl dt a,
|
||||||
|
#attributes-list > dl dt a {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
#constants-list > dl dd,
|
||||||
|
#attributes-list > dl dd {
|
||||||
|
margin: 0 0 1em 0;
|
||||||
|
padding: 0;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.documentation-section h2 {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.documentation-section h2 a {
|
||||||
|
position: absolute;
|
||||||
|
top: 8px;
|
||||||
|
right: 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #9b9877;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.documentation-section h2:hover a {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @group Method Details */
|
||||||
|
|
||||||
|
#documentation .method-source-code {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .method-detail {
|
||||||
|
margin: 0.5em 0;
|
||||||
|
padding: 0.5em 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
#documentation .method-detail:hover {
|
||||||
|
background-color: #f1edba;
|
||||||
|
}
|
||||||
|
#documentation .method-heading {
|
||||||
|
position: relative;
|
||||||
|
padding: 2px 4px 0 20px;
|
||||||
|
font-size: 125%;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333;
|
||||||
|
background: url(images/brick.png) no-repeat left bottom;
|
||||||
|
}
|
||||||
|
#documentation .method-heading :link,
|
||||||
|
#documentation .method-heading :visited {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
#documentation .method-click-advice {
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
right: 5px;
|
||||||
|
font-size: 10px;
|
||||||
|
color: #9b9877;
|
||||||
|
visibility: hidden;
|
||||||
|
padding-right: 20px;
|
||||||
|
line-height: 20px;
|
||||||
|
background: url(images/zoom.png) no-repeat right top;
|
||||||
|
}
|
||||||
|
#documentation .method-detail:hover .method-click-advice {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .method-alias .method-heading {
|
||||||
|
color: #666;
|
||||||
|
background: url(images/brick_link.png) no-repeat left bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .method-description,
|
||||||
|
#documentation .aliases {
|
||||||
|
margin: 0 20px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .method-description p,
|
||||||
|
#documentation .aliases p {
|
||||||
|
line-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .aliases {
|
||||||
|
padding-top: 4px;
|
||||||
|
font-style: italic;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
#documentation .method-description p {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
#documentation .method-description p + p {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
#documentation .method-description ul {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#documentation .attribute-method-heading {
|
||||||
|
background: url(images/tag_green.png) no-repeat left bottom;
|
||||||
|
}
|
||||||
|
#documentation #attribute-method-details .method-detail:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
#documentation .attribute-access-type {
|
||||||
|
font-size: 60%;
|
||||||
|
text-transform: uppercase;
|
||||||
|
vertical-align: super;
|
||||||
|
padding: 0 2px;
|
||||||
|
}
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* @group Source Code */
|
||||||
|
|
||||||
|
div.method-source-code {
|
||||||
|
background: #262626;
|
||||||
|
color: #efefef;
|
||||||
|
margin: 1em;
|
||||||
|
padding: 0.5em;
|
||||||
|
border: 1px dashed #999;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.method-source-code pre {
|
||||||
|
background: inherit;
|
||||||
|
padding: 0;
|
||||||
|
color: white;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @group Ruby keyword styles */
|
||||||
|
|
||||||
|
.ruby-constant { color: #7fffd4; background: transparent; }
|
||||||
|
.ruby-keyword { color: #00ffff; background: transparent; }
|
||||||
|
.ruby-ivar { color: #eedd82; background: transparent; }
|
||||||
|
.ruby-operator { color: #00ffee; background: transparent; }
|
||||||
|
.ruby-identifier { color: #ffdead; background: transparent; }
|
||||||
|
.ruby-node { color: #ffa07a; background: transparent; }
|
||||||
|
.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
|
||||||
|
.ruby-regexp { color: #ffa07a; background: transparent; }
|
||||||
|
.ruby-value { color: #7fffd4; background: transparent; }
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
/* @group File Popup Contents */
|
||||||
|
|
||||||
|
.file #metadata,
|
||||||
|
.file-popup #metadata {
|
||||||
|
}
|
||||||
|
|
||||||
|
.file-popup dl {
|
||||||
|
font-size: 80%;
|
||||||
|
padding: 0.75em;
|
||||||
|
background-color: #dedede;
|
||||||
|
color: #333;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
}
|
||||||
|
.file dt {
|
||||||
|
font-weight: bold;
|
||||||
|
padding-left: 22px;
|
||||||
|
line-height: 20px;
|
||||||
|
background: url(images/page_white_width.png) no-repeat left top;
|
||||||
|
}
|
||||||
|
.file dt.modified-date {
|
||||||
|
background: url(images/date.png) no-repeat left top;
|
||||||
|
}
|
||||||
|
.file dt.requires {
|
||||||
|
background: url(images/plugin.png) no-repeat left top;
|
||||||
|
}
|
||||||
|
.file dt.scs-url {
|
||||||
|
background: url(images/wrench.png) no-repeat left top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.file dl dd {
|
||||||
|
margin: 0 0 1em 0;
|
||||||
|
}
|
||||||
|
.file #metadata dl dd ul {
|
||||||
|
list-style: circle;
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
.file #metadata dl dd ul li {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.file h2 {
|
||||||
|
margin-top: 2em;
|
||||||
|
padding: 0.75em 0.5em;
|
||||||
|
background-color: #dedede;
|
||||||
|
color: #333;
|
||||||
|
font-size: 120%;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* @group ThickBox Styles */
|
||||||
|
#TB_window {
|
||||||
|
font: 12px Arial, Helvetica, sans-serif;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_secondLine {
|
||||||
|
font: 10px Arial, Helvetica, sans-serif;
|
||||||
|
color:#666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_window :link,
|
||||||
|
#TB_window :visited { color: #666666; }
|
||||||
|
#TB_window :link:hover,
|
||||||
|
#TB_window :visited:hover { color: #000; }
|
||||||
|
#TB_window :link:active,
|
||||||
|
#TB_window :visited:active { color: #666666; }
|
||||||
|
#TB_window :link:focus,
|
||||||
|
#TB_window :visited:focus { color: #666666; }
|
||||||
|
|
||||||
|
#TB_overlay {
|
||||||
|
position: fixed;
|
||||||
|
z-index:100;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
height:100%;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
|
||||||
|
.TB_overlayBG {
|
||||||
|
background-color:#000;
|
||||||
|
filter:alpha(opacity=75);
|
||||||
|
-moz-opacity: 0.75;
|
||||||
|
opacity: 0.75;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #TB_overlay { /* ie6 hack */
|
||||||
|
position: absolute;
|
||||||
|
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_window {
|
||||||
|
position: fixed;
|
||||||
|
background: #ffffff;
|
||||||
|
z-index: 102;
|
||||||
|
color:#000000;
|
||||||
|
display:none;
|
||||||
|
border: 4px solid #525252;
|
||||||
|
text-align:left;
|
||||||
|
top:50%;
|
||||||
|
left:50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #TB_window { /* ie6 hack */
|
||||||
|
position: absolute;
|
||||||
|
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_window img#TB_Image {
|
||||||
|
display:block;
|
||||||
|
margin: 15px 0 0 15px;
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
border-bottom: 1px solid #ccc;
|
||||||
|
border-top: 1px solid #666;
|
||||||
|
border-left: 1px solid #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_caption{
|
||||||
|
height:25px;
|
||||||
|
padding:7px 30px 10px 25px;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_closeWindow{
|
||||||
|
height:25px;
|
||||||
|
padding:11px 25px 10px 0;
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_closeAjaxWindow{
|
||||||
|
padding:7px 10px 5px 0;
|
||||||
|
margin-bottom:1px;
|
||||||
|
text-align:right;
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_ajaxWindowTitle{
|
||||||
|
float:left;
|
||||||
|
padding:7px 0 5px 10px;
|
||||||
|
margin-bottom:1px;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_title{
|
||||||
|
background-color: #6C8C22;
|
||||||
|
color: #dedede;
|
||||||
|
height:40px;
|
||||||
|
}
|
||||||
|
#TB_title :link,
|
||||||
|
#TB_title :visited {
|
||||||
|
color: white !important;
|
||||||
|
border-bottom: 1px dotted #dedede;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_ajaxContent{
|
||||||
|
clear:both;
|
||||||
|
padding:2px 15px 15px 15px;
|
||||||
|
overflow:auto;
|
||||||
|
text-align:left;
|
||||||
|
line-height:1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_ajaxContent.TB_modal{
|
||||||
|
padding:15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_ajaxContent p{
|
||||||
|
padding:5px 0px 5px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_load{
|
||||||
|
position: fixed;
|
||||||
|
display:none;
|
||||||
|
height:13px;
|
||||||
|
width:208px;
|
||||||
|
z-index:103;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #TB_load { /* ie6 hack */
|
||||||
|
position: absolute;
|
||||||
|
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_HideSelect{
|
||||||
|
z-index:99;
|
||||||
|
position:fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color:#fff;
|
||||||
|
border:none;
|
||||||
|
filter:alpha(opacity=0);
|
||||||
|
-moz-opacity: 0;
|
||||||
|
opacity: 0;
|
||||||
|
height:100%;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #TB_HideSelect { /* ie6 hack */
|
||||||
|
position: absolute;
|
||||||
|
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||||
|
}
|
||||||
|
|
||||||
|
#TB_iframeContent{
|
||||||
|
clear:both;
|
||||||
|
border:none;
|
||||||
|
margin-bottom:-1px;
|
||||||
|
margin-top:1px;
|
||||||
|
_margin-bottom:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
/* @group Debugging Section */
|
||||||
|
|
||||||
|
#debugging-toggle {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#debugging-toggle img {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#rdoc-debugging-section-dump {
|
||||||
|
display: none;
|
||||||
|
margin: 0 2em 2em;
|
||||||
|
background: #ccc;
|
||||||
|
border: 1px solid #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* @end */
|
54
doc/rdoc/v/Vue1_rb.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?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>File: Vue1.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:16:01 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe creation de la vue de sélection de fichier ou dossier</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
54
doc/rdoc/v/VueHisto_rb.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?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>File: VueHisto.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:16:27 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe creation de la vue permettant d’aceder a l’historique</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
54
doc/rdoc/v/VueMenu_rb.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?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>File: VueMenu.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:16:56 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe creation vue du menu</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
54
doc/rdoc/v/VueResult_rb.html
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<?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>File: VueResult.rb [RDoc Documentation]</title>
|
||||||
|
|
||||||
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
<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 class="file file-popup">
|
||||||
|
<div id="metadata">
|
||||||
|
<dl>
|
||||||
|
<dt class="modified-date">Last Modified</dt>
|
||||||
|
<dd class="modified-date">2014-01-17 09:17:09 +0100</dd>
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="requires">Requires</dt>
|
||||||
|
<dd class="requires">
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="documentation">
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<h2>Description</h2>
|
||||||
|
|
||||||
|
<p>Classe creation de la vue des resultats</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -1,15 +1,18 @@
|
|||||||
#Classe permettant l'acces et la recuperation des données dans les fichiers
|
#Classe permettant l'acces et la recuperation des données dans les fichiers
|
||||||
class ReadFile
|
class ReadFile
|
||||||
#Ouverture d'un fichier en lecture
|
# <b>Ouverture d'un fichier en lecture</b>
|
||||||
|
# * String pFic : chemin de fichier à ouvrir
|
||||||
def initialize(pFic)
|
def initialize(pFic)
|
||||||
@fic = File.open(pFic, "r")
|
@fic = File.open(pFic, "r")
|
||||||
end
|
end
|
||||||
#Revoit tout le contenu d'un fichier sous forme d'une chaine de caractere
|
# <b>Revoit tout le contenu d'un fichier sous forme d'une chaine de caractere</b>
|
||||||
|
# * return : string contenant tout le texte du fichier
|
||||||
def getALL
|
def getALL
|
||||||
all = @fic.read
|
all = @fic.read
|
||||||
return all
|
return all
|
||||||
end
|
end
|
||||||
#Sort les URLs d'un fichier
|
# <b>Sort les URLs d'un fichier</b>
|
||||||
|
# * return : string[] contenant tout les liens http/https du fichier
|
||||||
def getUrls
|
def getUrls
|
||||||
txt = self.getALL
|
txt = self.getALL
|
||||||
url = URI::extract(txt, /http(s)?/)
|
url = URI::extract(txt, /http(s)?/)
|
||||||
|
17
v/Vue1.rb
@ -1,6 +1,9 @@
|
|||||||
# Classe creation de la vue de sélection de fichier ou dossier
|
# Classe creation de la vue de sélection de fichier ou dossier
|
||||||
class Vue1
|
class Vue1
|
||||||
# Creation de la vue
|
# <b>Creation de la vue</b>
|
||||||
|
# * CtrlCheckLinks ctrl : controleur de la vue
|
||||||
|
# * String title : titre de la vue
|
||||||
|
# * int type : vue pour un fichier (==1) sinon pour un dossier
|
||||||
def initialize(ctrl, title, type)
|
def initialize(ctrl, title, type)
|
||||||
@ctrl = ctrl
|
@ctrl = ctrl
|
||||||
#fenenetre generale
|
#fenenetre generale
|
||||||
@ -11,11 +14,11 @@ class Vue1
|
|||||||
vb = Gtk::VBox.new(true, 6)
|
vb = Gtk::VBox.new(true, 6)
|
||||||
bot = Gtk::HBox.new(false, 6)
|
bot = Gtk::HBox.new(false, 6)
|
||||||
|
|
||||||
#creation label pour la saisie
|
#creation de label pour la saisie
|
||||||
lab = Gtk::Label.new('Chemin :')
|
lab = Gtk::Label.new('Chemin :')
|
||||||
bot.pack_start(lab, false, true, 6)
|
bot.pack_start(lab, false, true, 6)
|
||||||
|
|
||||||
#creation champ de saisie
|
#creation du champ de saisie
|
||||||
#@nom = Gtk::Entry.new
|
#@nom = Gtk::Entry.new
|
||||||
if (type == 1)
|
if (type == 1)
|
||||||
@nom = Gtk::FileChooserButton.new("choisir un fichier", Gtk::FileChooser::ACTION_OPEN)
|
@nom = Gtk::FileChooserButton.new("choisir un fichier", Gtk::FileChooser::ACTION_OPEN)
|
||||||
@ -46,14 +49,14 @@ class Vue1
|
|||||||
return @chaine
|
return @chaine
|
||||||
end
|
end
|
||||||
|
|
||||||
# Listener fermeture fenetre
|
# <b>Listener fermeture fenetre</b>
|
||||||
def listenerDestroy
|
def listenerDestroy
|
||||||
@window.signal_connect('destroy') {
|
@window.signal_connect('destroy') {
|
||||||
@ctrl.destructionFen
|
@ctrl.destructionFen
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
#Listener appuie bouton validation
|
# <b>Listener appuie bouton validation -> test liens fichier </b>
|
||||||
def listenerBouton
|
def listenerBouton
|
||||||
@chaine = " "
|
@chaine = " "
|
||||||
@b.signal_connect('clicked'){
|
@b.signal_connect('clicked'){
|
||||||
@ -66,10 +69,10 @@ class Vue1
|
|||||||
m.run
|
m.run
|
||||||
m.destroy
|
m.destroy
|
||||||
else
|
else
|
||||||
if(File.directory?(@chaine)) #si c'est un dossier utilisation du controleur adéquat
|
if(File.directory?(@chaine)) #si c'est un dossier -> utilisation du controleur adéquat
|
||||||
@ctrl.recupUrlsDoss(@chaine)
|
@ctrl.recupUrlsDoss(@chaine)
|
||||||
else
|
else
|
||||||
if(File.exist?(@chaine)) #si c'est un fichier existant utilisation du controleur adéquat
|
if(File.exist?(@chaine)) #si c'est un fichier -> existant utilisation du controleur adéquat
|
||||||
@ctrl.recupUrls(@chaine)
|
@ctrl.recupUrls(@chaine)
|
||||||
else #gestion saisie invalide
|
else #gestion saisie invalide
|
||||||
d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
|
d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Classe creation de la vue permettant d'aceder a l'historique
|
# Classe creation de la vue permettant d'aceder a l'historique
|
||||||
class VueHisto
|
class VueHisto
|
||||||
# Creation de la vue
|
# <b>Creation de la vue</b>
|
||||||
|
# * CtrlCheckHisto ctrl : controleur de la vue
|
||||||
|
# * String title : titre de la vue
|
||||||
def initialize(ctrl, title)
|
def initialize(ctrl, title)
|
||||||
@ctrl = ctrl
|
@ctrl = ctrl
|
||||||
#fenenetre generale
|
#fenenetre generale
|
||||||
@ -41,14 +43,14 @@ class VueHisto
|
|||||||
return @chaine
|
return @chaine
|
||||||
end
|
end
|
||||||
|
|
||||||
# Listener fermeture fenetre
|
# <b>Listener fermeture fenetre</b>
|
||||||
def listenerDestroy
|
def listenerDestroy
|
||||||
@window.signal_connect('destroy') {
|
@window.signal_connect('destroy') {
|
||||||
@ctrl.destructionFen
|
@ctrl.destructionFen
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
#Listener appuie bouton validation
|
# <b>Listener appuie bouton validation -> test liens fichier </b>
|
||||||
def listenerBouton
|
def listenerBouton
|
||||||
@chaine = " "
|
@chaine = " "
|
||||||
@b.signal_connect('clicked'){
|
@b.signal_connect('clicked'){
|
||||||
|
14
v/VueMenu.rb
@ -1,6 +1,8 @@
|
|||||||
#Classe creation vue du menu
|
#Classe creation vue du menu
|
||||||
class VueMenu
|
class VueMenu
|
||||||
# Creation de la vue
|
# <b>Creation de la vue</b>
|
||||||
|
# * Menu ctrl : controleur de la vue
|
||||||
|
# * String title : titre de la vue
|
||||||
def initialize(ctrl, title)
|
def initialize(ctrl, title)
|
||||||
@ctrl = ctrl
|
@ctrl = ctrl
|
||||||
#fenenetre generale
|
#fenenetre generale
|
||||||
@ -36,25 +38,25 @@ class VueMenu
|
|||||||
def getWindow #:nodoc:#
|
def getWindow #:nodoc:#
|
||||||
return @window
|
return @window
|
||||||
end
|
end
|
||||||
#Listener appuie bouton nouvelle vérification de 1 fichier
|
# <b>Listener appuie bouton nouvelle vérification de 1 fichier</b>
|
||||||
def listenerBoutonNewFile
|
def listenerBoutonNewFile
|
||||||
@newFile.signal_connect('clicked'){
|
@newFile.signal_connect('clicked'){
|
||||||
@ctrl.newVerifFile
|
@ctrl.newVerifFile
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
#Listener appuie bouton validation nouvelle vérification de 1 dossier
|
# <b>Listener appuie bouton validation nouvelle vérification de 1 dossier</b>
|
||||||
def listenerBoutonNewDossier
|
def listenerBoutonNewDossier
|
||||||
@newDoss.signal_connect('clicked'){
|
@newDoss.signal_connect('clicked'){
|
||||||
@ctrl.newVerifDossier
|
@ctrl.newVerifDossier
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
#Listener appuie bouton validation pour rejouer un fichier dans de l'historique
|
# <b>Listener appuie bouton validation pour rejouer un fichier dans de l'historique</b>
|
||||||
def listenerBoutonHisto
|
def listenerBoutonHisto
|
||||||
@histo.signal_connect('clicke d'){
|
@histo.signal_connect('clicked'){
|
||||||
@ctrl.histo
|
@ctrl.histo
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
# Listener fermeture fenetre Menu
|
# <b>Listener fermeture fenetre Menu</b>
|
||||||
def listenerDestroy
|
def listenerDestroy
|
||||||
@window.signal_connect('destroy') {
|
@window.signal_connect('destroy') {
|
||||||
@ctrl.destructionMenu
|
@ctrl.destructionMenu
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
# Classe creation de la vue des resultats
|
# Classe creation de la vue des resultats
|
||||||
class VueResult
|
class VueResult
|
||||||
# Creation de la vue
|
# <b>Creation de la vue</b>
|
||||||
def initialize(liste_result, nom)
|
# * String liste_result : contient les resultats a afficher
|
||||||
|
# * String title : titre de la vue
|
||||||
|
def initialize(liste_result, title)
|
||||||
#fenenetre generale
|
#fenenetre generale
|
||||||
@window = Gtk::Window.new
|
@window = Gtk::Window.new
|
||||||
@window.set_title(nom)
|
@window.set_title(title)
|
||||||
|
|
||||||
#declaration des differents widgets
|
#declaration des differents widgets
|
||||||
vb = Gtk::VBox.new(true, 6)
|
vb = Gtk::VBox.new(true, 6)
|
||||||
@ -28,7 +30,7 @@
|
|||||||
return @window
|
return @window
|
||||||
end
|
end
|
||||||
|
|
||||||
# Listener fermeture Resultat
|
# <b>Listener fermeture Resultat</b>
|
||||||
def listenerDestroy
|
def listenerDestroy
|
||||||
@window.signal_connect('destroy') {
|
@window.signal_connect('destroy') {
|
||||||
@window.destroy
|
@window.destroy
|
||||||
|