Project

General

Profile

Task #4786

duplicate code

Added by Alexey Demakov over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/24/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
0.15.197

Description

метод getLabelProvider() идентичен для
requality\src\java\com\unitesk\requality\eclipse\ui\dialogs\SelectNodesFromList.java
requality\src\java\com\unitesk\requality\eclipse\ui\dialogs\SelectReqDialog.java
requality\src\java\com\unitesk\requality\eclipse\ui\dialogs\SelectTestPurposeDialog.java

Напрашивается создание общего базового класса и перенос в него реализации этого метода.

В SelectNodeDialog на первый взгляд переносить некорректно, потому что есть SelectDocDialog.java, который использует базовую реализацию.

Associated revisions

Revision 3511 (diff)
Added by Denis Kildishev over 6 years ago

fixes: #4786; adds superclass for node selectors from nodes in /Requirements/ tree

Revision 7a313bd3 (diff)
Added by Denis Kildishev over 6 years ago

fixes: #4786; adds superclass for node selectors from nodes in /Requirements/ tree

git-svn-id: https://forge.ispras.ru/svn/reqdb/trunk/requality@3511 f558eac1-05b1-4da7-9ed5-5050e8a619d6

Revision 3511 (diff)
Added by Denis Kildishev over 6 years ago

fixes: #4786; adds superclass for node selectors from nodes in /Requirements/ tree

History

#1

Updated by Denis Kildishev over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3511.

#2

Updated by Denis Kildishev over 6 years ago

  • Published in build set to 0.15.197
#3

Updated by Alexey Khoroshilov over 6 years ago

  • Target version set to 0.16
#4

Updated by Alexey Khoroshilov over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF