Добавил класс семантической модели для команды копирования
This commit is contained in:
parent
a4c33221bf
commit
bfd9e3e2bf
|
|
@ -0,0 +1,17 @@
|
|||
__author__ = 'rzaitov'
|
||||
|
||||
|
||||
class CopyArguments():
|
||||
def __init__(self):
|
||||
self.__source = None
|
||||
self.__target = None
|
||||
|
||||
def setArguments(self, source, target):
|
||||
self.__source = source
|
||||
self.__target = target
|
||||
|
||||
def isValid(self):
|
||||
result = self.__source is not None
|
||||
result &= self.__target is not None
|
||||
|
||||
return result
|
||||
|
|
@ -0,0 +1 @@
|
|||
__author__ = 'rzaitov'
|
||||
Loading…
Reference in New Issue