Fixes #1217 - Added support for the context menu - 'View Data' for the

Materialized View.
pull/3/head
Surinder Kumar 2016-05-25 00:02:32 +05:30 committed by Ashesh Vashi
parent c81977d441
commit d4644428e6
2 changed files with 11 additions and 1 deletions

View File

@ -20,7 +20,7 @@ define(
// Define list of nodes on which view data option appears // Define list of nodes on which view data option appears
var supported_nodes = [ var supported_nodes = [
'table', 'view', 'table', 'view', 'mview',
'foreign-table', 'catalog_object' 'foreign-table', 'catalog_object'
], ],

View File

@ -512,6 +512,16 @@ class ViewCommand(GridCommand):
return True return True
class MViewCommand(ViewCommand):
"""
class MViewCommand(ViewCommand)
It is a derived class for View type has
same functionality of View
"""
object_type = 'mview'
class ForeignTableCommand(GridCommand): class ForeignTableCommand(GridCommand):
""" """
class ForeignTableCommand(GridCommand) class ForeignTableCommand(GridCommand)