Re-organized reconciliation menu commands similar to James' suggestions.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@550 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
53d7bd3287
commit
02536a625e
@ -371,46 +371,7 @@ DataTableColumnHeaderUI.prototype._createMenuForColumnHeader = function(elmt) {
|
|||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
label: "Match Each Cell to Its Best Candidate",
|
label: "Facets",
|
||||||
tooltip: "Match each cell to its best candidate in this column for all current filtered rows",
|
|
||||||
click: function() {
|
|
||||||
self._doReconMatchBestCandidates();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Create a New Topic for Each Cell",
|
|
||||||
tooltip: "Mark to create one new topic for each cell in this column for all current filtered rows",
|
|
||||||
click: function() {
|
|
||||||
self._doReconMarkNewTopics(false);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Create One New Topic for Similar Cells",
|
|
||||||
tooltip: "Mark to create one new topic for each group of similar cells in this column for all current filtered rows",
|
|
||||||
click: function() {
|
|
||||||
self._doReconMarkNewTopics(true);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Discard Reconciliation Judgments",
|
|
||||||
tooltip: "Discard reconciliaton results in this column for all current filtered rows",
|
|
||||||
click: function() {
|
|
||||||
self._doReconDiscardJudgments();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
label: "Match Filtered Cells to ...",
|
|
||||||
tooltip: "Search for a topic to match all filtered cells to",
|
|
||||||
click: function() {
|
|
||||||
self._doSearchToMatch();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Reconcile Filter",
|
|
||||||
tooltip: "Match this column's cells to topics on Freebase",
|
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: "By Judgment",
|
label: "By Judgment",
|
||||||
@ -529,6 +490,50 @@ DataTableColumnHeaderUI.prototype._createMenuForColumnHeader = function(elmt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Actions",
|
||||||
|
submenu: [
|
||||||
|
{
|
||||||
|
label: "Match Each Cell to Its Best Candidate",
|
||||||
|
tooltip: "Match each cell to its best candidate in this column for all current filtered rows",
|
||||||
|
click: function() {
|
||||||
|
self._doReconMatchBestCandidates();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Create a New Topic for Each Cell",
|
||||||
|
tooltip: "Mark to create one new topic for each cell in this column for all current filtered rows",
|
||||||
|
click: function() {
|
||||||
|
self._doReconMarkNewTopics(false);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
label: "Create One New Topic for Similar Cells",
|
||||||
|
tooltip: "Mark to create one new topic for each group of similar cells in this column for all current filtered rows",
|
||||||
|
click: function() {
|
||||||
|
self._doReconMarkNewTopics(true);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Match All Filtered Cells to ...",
|
||||||
|
tooltip: "Search for a topic to match all filtered cells to",
|
||||||
|
click: function() {
|
||||||
|
self._doSearchToMatch();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
label: "Discard Reconciliation Judgments",
|
||||||
|
tooltip: "Discard reconciliaton judgments in this column for all current filtered rows",
|
||||||
|
click: function() {
|
||||||
|
self._doReconDiscardJudgments();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
], elmt, { width: "120px", horizontal: false });
|
], elmt, { width: "120px", horizontal: false });
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user