Skip to content
Snippets Groups Projects
Commit b1ef607a authored by ginquin's avatar ginquin
Browse files

Añadido popups en listbox.

parent 9291f81d
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
...@@ -6,25 +6,43 @@ ...@@ -6,25 +6,43 @@
<vlayout spacing="1em"> <vlayout spacing="1em">
<label id="labelTitle" sclass="head1" /> <label id="labelTitle" sclass="head1" />
<hlayout> <hlayout>
<button id="bTools" label="${labels.smellsDetail.bTools}" disabled="true"/> <button id="bTools"
<button id="bProjects" label="${labels.smellsDetail.bProjects}" disabled="true"/> label="${labels.smellsDetail.bTools}" disabled="true" />
<button id="bProjects"
label="${labels.smellsDetail.bProjects}" disabled="true" />
</hlayout> </hlayout>
<listbox id="smellsListBox" mold="paging" pageSize="10" <listbox id="smellsListBox" mold="paging" pageSize="10"
emptyMessage="${labels.busqueda.noData}" hflex="1"> emptyMessage="${labels.busqueda.noData}" hflex="1">
<listhead> <listhead>
<listheader label="${labels.smellsDetail.smell}" hflex="2" /> <listheader label="${labels.smellsDetail.smell}"
<listheader label="${labels.smellsDetail.description}" hflex="4" /> hflex="2" />
<listheader label="${labels.smellsDetail.smellConcept}" hflex="1" /> <listheader
<listheader label="${labels.smellsDetail.smellScope}" hflex="1" /> label="${labels.smellsDetail.description}" hflex="4" />
<listheader
label="${labels.smellsDetail.smellConcept}" hflex="1" />
<listheader
label="${labels.smellsDetail.smellScope}" hflex="1" />
</listhead> </listhead>
<template name="model"> <template name="model">
<listitem> <listitem>
<listcell label="${each.name}" /> <listcell label="${each.name}" />
<listcell label="${each.description}" /> <listcell label="${each.description}" />
<listcell label="${each.smellsConceptNamesRes}" <listcell label="${each.smellsConceptNamesRes}"
tooltiptext="${each.smellsConceptNames}" /> popup="sConcept_${each.smellId}" tooltiptext="${each.smellsConceptNames}">
<popup id="sConcept_${each.smellId}"
width="300px">
<label multiline="true"
value="${each.smellsConceptNames}" />
</popup>
</listcell>
<listcell label="${each.smellsScopeNamesRes}" <listcell label="${each.smellsScopeNamesRes}"
tooltiptext="${each.smellsScopeNames}" /> popup="sScope_${each.smellId}" tooltiptext="${each.smellsScopeNames}">
<popup id="sScope_${each.smellId}"
width="300px">
<label multiline="true"
value="${each.smellsScopeNames}" />
</popup>
</listcell>
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
...@@ -37,15 +55,19 @@ ...@@ -37,15 +55,19 @@
contentStyle="border:0;overflow:auto" closable="false" vflex="1" contentStyle="border:0;overflow:auto" closable="false" vflex="1"
hflex="1"> hflex="1">
<caption label="${labels.smellsDetail.affects}"> <caption label="${labels.smellsDetail.affects}">
<button id="cancelDetail" label="${labels.busqueda.close}" /> <button id="cancelDetail"
label="${labels.busqueda.close}" />
</caption> </caption>
<vlayout> <vlayout>
<listbox id="qFactorSmellsListBox" mold="paging" <listbox id="qFactorSmellsListBox" mold="paging"
pageSize="10" emptyMessage="${labels.busqueda.noData}" hflex="1"> pageSize="10" emptyMessage="${labels.busqueda.noData}" hflex="1">
<listhead> <listhead>
<listheader label="${labels.smellsDetail.qfactor}" hflex="1" /> <listheader
<listheader label="${labels.smellsDetail.qmodel}" hflex="2" /> label="${labels.smellsDetail.qfactor}" hflex="1" />
<listheader label="${labels.smellsDetail.kOfImpact}" hflex="1" /> <listheader
label="${labels.smellsDetail.qmodel}" hflex="2" />
<listheader
label="${labels.smellsDetail.kOfImpact}" hflex="1" />
</listhead> </listhead>
<template name="model"> <template name="model">
<listitem> <listitem>
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
apply="es.uva.inf.tfg.ginquin.smellswisdom.controller.ToolsArticleDetailController"> apply="es.uva.inf.tfg.ginquin.smellswisdom.controller.ToolsArticleDetailController">
<vlayout spacing="1em"> <vlayout spacing="1em">
<label id="labelTitle" sclass="head1" /> <label id="labelTitle" sclass="head1" />
<button id="bSmells" label="${labels.toolsDetail.bSmells}" disabled="true"/> <button id="bSmells" label="${labels.toolsDetail.bSmells}"
disabled="true" />
<listbox id="articleToolsListBox" mold="paging" pageSize="10" <listbox id="articleToolsListBox" mold="paging" pageSize="10"
sizedByContent="true" span="true" sizedByContent="true" span="true"
emptyMessage="${labels.busqueda.noData}" visible="false" hflex="1"> emptyMessage="${labels.busqueda.noData}" visible="false" hflex="1">
...@@ -12,7 +13,8 @@ ...@@ -12,7 +13,8 @@
<listheader label="${labels.toolsDetail.url}" /> <listheader label="${labels.toolsDetail.url}" />
<listheader label="${labels.toolsDetail.isFree}" /> <listheader label="${labels.toolsDetail.isFree}" />
<listheader label="${labels.toolsDetail.isOpenSource}" /> <listheader label="${labels.toolsDetail.isOpenSource}" />
<listheader label="${labels.toolsDetail.sRepresentation}" /> <listheader
label="${labels.toolsDetail.sRepresentation}" />
<listheader label="${labels.toolsDetail.sLanguages}" /> <listheader label="${labels.toolsDetail.sLanguages}" />
<listheader label="${labels.toolsDetail.automation}" /> <listheader label="${labels.toolsDetail.automation}" />
<listheader label="${labels.toolsDetail.kOfPresence}" /> <listheader label="${labels.toolsDetail.kOfPresence}" />
...@@ -23,15 +25,30 @@ ...@@ -23,15 +25,30 @@
<listcell label="${each.tool.url}" /> <listcell label="${each.tool.url}" />
<listcell label="${each.tool.yesOrNoFree}" /> <listcell label="${each.tool.yesOrNoFree}" />
<listcell label="${each.tool.yesOrNoOpenSource}" /> <listcell label="${each.tool.yesOrNoOpenSource}" />
<listcell label="${each.tool.softwareRepresentationNamesRes}" <listcell
tooltiptext="${each.tool.softwareRepresentationNames}" /> label="${each.tool.softwareRepresentationNamesRes}" popup="repre_${each.tool.toolId}"
<listcell label="${each.tool.supportedLanguagesNamesRes}" tooltiptext="${each.tool.softwareRepresentationNames}" >
tooltiptext="${each.tool.supportedLanguagesNames}" /> <popup id="repre_${each.tool.toolId}"
width="300px">
<label multiline="true" value="${each.tool.softwareRepresentationNames}"/>
</popup>
</listcell>
<listcell
label="${each.tool.supportedLanguagesNamesRes}" popup="supp_${each.tool.toolId}"
tooltiptext="${each.tool.supportedLanguagesNames}" >
<popup id="supp_${each.tool.toolId}"
width="300px">
<label multiline="true" value="${each.tool.supportedLanguagesNames}"/>
</popup>
</listcell>
<listcell label="${each.tool.nameAutomation}" /> <listcell label="${each.tool.nameAutomation}" />
<listcell label="${each.nameKindOfPresence}" /> <listcell label="${each.nameKindOfPresence}" />
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
<!--ListBox para solo Tools -->
<listbox id="toolsListBox" mold="paging" pageSize="10" <listbox id="toolsListBox" mold="paging" pageSize="10"
sizedByContent="true" span="true" sizedByContent="true" span="true"
emptyMessage="${labels.busqueda.noData}" visible="false" hflex="1"> emptyMessage="${labels.busqueda.noData}" visible="false" hflex="1">
...@@ -40,7 +57,8 @@ ...@@ -40,7 +57,8 @@
<listheader label="${labels.toolsDetail.url}" /> <listheader label="${labels.toolsDetail.url}" />
<listheader label="${labels.toolsDetail.isFree}" /> <listheader label="${labels.toolsDetail.isFree}" />
<listheader label="${labels.toolsDetail.isOpenSource}" /> <listheader label="${labels.toolsDetail.isOpenSource}" />
<listheader label="${labels.toolsDetail.sRepresentation}" /> <listheader
label="${labels.toolsDetail.sRepresentation}" />
<listheader label="${labels.toolsDetail.sLanguages}" /> <listheader label="${labels.toolsDetail.sLanguages}" />
<listheader label="${labels.toolsDetail.automation}" /> <listheader label="${labels.toolsDetail.automation}" />
</listhead> </listhead>
...@@ -50,13 +68,25 @@ ...@@ -50,13 +68,25 @@
<listcell label="${each.url}" /> <listcell label="${each.url}" />
<listcell label="${each.yesOrNoFree}" /> <listcell label="${each.yesOrNoFree}" />
<listcell label="${each.yesOrNoOpenSource}" /> <listcell label="${each.yesOrNoOpenSource}" />
<listcell label="${each.softwareRepresentationNamesRes}" <listcell
tooltiptext="${each.softwareRepresentationNames}" /> label="${each.softwareRepresentationNamesRes}" popup="repre_${each.toolId}"
<listcell label="${each.supportedLanguagesNamesRes}" tooltiptext="${each.softwareRepresentationNames}">
tooltiptext="${each.supportedLanguagesNames}" /> <popup id="repre_${each.toolId}"
width="300px">
<label multiline="true" value="${each.softwareRepresentationNames}"/>
</popup>
</listcell>
<listcell label="${each.supportedLanguagesNamesRes}" popup="supp_${each.toolId}"
tooltiptext="${each.supportedLanguagesNames}">
<popup id="supp_${each.toolId}"
width="300px">
<label multiline="true" value="${each.supportedLanguagesNames}"/>
</popup>
</listcell>
<listcell label="${each.nameAutomation}" /> <listcell label="${each.nameAutomation}" />
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
</vlayout> </vlayout>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment