test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      ColumnFunctionEditor.View view;
test_class.type: ColumnFunctionEditor.View
test_class.var_name: view
test_class.declarator: columnDetailsEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      ColumnDetailsEditor columnDetailsEditor;
test_class.type: ColumnDetailsEditor
test_class.var_name: columnDetailsEditor
test_class.declarator: changeEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      Event<GroupFunctionChangedEvent> changeEvent;
test_class.type: Event<GroupFunctionChangedEvent>
test_class.var_name: changeEvent
test_class.declarator: deleteEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      Event<GroupFunctionDeletedEvent> deleteEvent;
test_class.type: Event<GroupFunctionDeletedEvent>
test_class.var_name: deleteEvent
test_class.declarator: metadata
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetMetadata metadata;
test_class.type: DataSetMetadata
test_class.var_name: metadata
test_class.declarator: presenter
test_class.original_string: ColumnFunctionEditor presenter;
test_class.type: ColumnFunctionEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/widgets/group/ColumnFunctionEditorTest.java
test_class.identifier: ColumnFunctionEditorTest
test_case.body: @Test
      public void testLabelTarget() {
          GroupFunction groupFunction = new GroupFunction("column1", "column1", null);
          presenter.init(metadata, groupFunction, ColumnType.LABEL, "Title", true, true);
  
          verify(view).clearColumnSelector();
          verify(view, times(1)).addColumnItem(anyString());
          verify(view).setSelectedColumnIndex(0);
  
          verify(view).setFunctionSelectorEnabled(false);
          verify(view, never()).setFunctionSelectorEnabled(true);
      }
test_case.class_method_signature: ColumnFunctionEditorTest.testLabelTarget()
test_case.full_signature: @Test public void testLabelTarget()
test_case.identifier: testLabelTarget
test_case.invocations: init clearColumnSelector verify addColumnItem verify times anyString setSelectedColumnIndex verify setFunctionSelectorEnabled verify setFunctionSelectorEnabled verify never
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLabelTarget()
focal_class.declarator: view = null
focal_class.original_string: View view = null;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: groupFunction = null
focal_class.original_string: GroupFunction groupFunction = null;
focal_class.type: GroupFunction
focal_class.var_name: groupFunction
focal_class.declarator: targetType = null
focal_class.original_string: ColumnType targetType = null;
focal_class.type: ColumnType
focal_class.var_name: targetType
focal_class.declarator: functionsEnabled = false
focal_class.original_string: boolean functionsEnabled = false;
focal_class.type: boolean
focal_class.var_name: functionsEnabled
focal_class.declarator: metadata = null
focal_class.original_string: DataSetMetadata metadata = null;
focal_class.type: DataSetMetadata
focal_class.var_name: metadata
focal_class.declarator: columnDetailsEditor = null
focal_class.original_string: ColumnDetailsEditor columnDetailsEditor = null;
focal_class.type: ColumnDetailsEditor
focal_class.var_name: columnDetailsEditor
focal_class.declarator: changeEvent = null
focal_class.original_string: Event<GroupFunctionChangedEvent> changeEvent = null;
focal_class.type: Event<GroupFunctionChangedEvent>
focal_class.var_name: changeEvent
focal_class.declarator: deleteEvent = null
focal_class.original_string: Event<GroupFunctionDeletedEvent> deleteEvent = null;
focal_class.type: Event<GroupFunctionDeletedEvent>
focal_class.var_name: deleteEvent
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/group/ColumnFunctionEditor.java
focal_class.identifier: ColumnFunctionEditor
focal_class.interfaces: implements IsWidget
focal_class.class_method_signature: ColumnFunctionEditor.ColumnFunctionEditor(View view,
                                  ColumnDetailsEditor columnDetailsEditor,
                                  Event<GroupFunctionChangedEvent> changeEvent,
                                  Event<GroupFunctionDeletedEvent> deleteEvent)
focal_class.full_signature: @Inject public  ColumnFunctionEditor(View view,
                                  ColumnDetailsEditor columnDetailsEditor,
                                  Event<GroupFunctionChangedEvent> changeEvent,
                                  Event<GroupFunctionDeletedEvent> deleteEvent)
focal_class.identifier: ColumnFunctionEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (View view,
                                  ColumnDetailsEditor columnDetailsEditor,
                                  Event<GroupFunctionChangedEvent> changeEvent,
                                  Event<GroupFunctionDeletedEvent> deleteEvent)
focal_class.signature:  ColumnFunctionEditor(View view,
                                  ColumnDetailsEditor columnDetailsEditor,
                                  Event<GroupFunctionChangedEvent> changeEvent,
                                  Event<GroupFunctionDeletedEvent> deleteEvent)
focal_class.class_method_signature: ColumnFunctionEditor.asWidget()
focal_class.full_signature: @Override public Widget asWidget()
focal_class.identifier: asWidget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Widget
focal_class.signature: Widget asWidget()
focal_class.class_method_signature: ColumnFunctionEditor.getGroupFunction()
focal_class.full_signature: public GroupFunction getGroupFunction()
focal_class.identifier: getGroupFunction
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: GroupFunction
focal_class.signature: GroupFunction getGroupFunction()
focal_class.class_method_signature: ColumnFunctionEditor.getTargetType()
focal_class.full_signature: public ColumnType getTargetType()
focal_class.identifier: getTargetType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ColumnType
focal_class.signature: ColumnType getTargetType()
focal_class.class_method_signature: ColumnFunctionEditor.getColumnDetailsEditor()
focal_class.full_signature: public ColumnDetailsEditor getColumnDetailsEditor()
focal_class.identifier: getColumnDetailsEditor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ColumnDetailsEditor
focal_class.signature: ColumnDetailsEditor getColumnDetailsEditor()
focal_class.class_method_signature: ColumnFunctionEditor.init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_class.full_signature: public void init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_class.return: void
focal_class.signature: void init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_class.class_method_signature: ColumnFunctionEditor.delete()
focal_class.full_signature: public void delete()
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void delete()
focal_class.class_method_signature: ColumnFunctionEditor.onColumnSelected()
focal_class.full_signature:  void onColumnSelected()
focal_class.identifier: onColumnSelected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onColumnSelected()
focal_class.class_method_signature: ColumnFunctionEditor.onFunctionSelected()
focal_class.full_signature:  void onFunctionSelected()
focal_class.identifier: onFunctionSelected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onFunctionSelected()
focal_class.class_method_signature: ColumnFunctionEditor.isColumnNumeric()
focal_class.full_signature: protected boolean isColumnNumeric()
focal_class.identifier: isColumnNumeric
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isColumnNumeric()
focal_class.class_method_signature: ColumnFunctionEditor.initColumnListBox()
focal_class.full_signature: protected void initColumnListBox()
focal_class.identifier: initColumnListBox
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initColumnListBox()
focal_class.class_method_signature: ColumnFunctionEditor.initFunctionListBox()
focal_class.full_signature: protected void initFunctionListBox()
focal_class.identifier: initFunctionListBox
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initFunctionListBox()
focal_class.class_method_signature: ColumnFunctionEditor.getSupportedFunctionTypes()
focal_class.full_signature: public List<AggregateFunctionType> getSupportedFunctionTypes()
focal_class.identifier: getSupportedFunctionTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<AggregateFunctionType>
focal_class.signature: List<AggregateFunctionType> getSupportedFunctionTypes()
focal_class.class_method_signature: ColumnFunctionEditor.getSupportedFunctionTypes(ColumnType columnType)
focal_class.full_signature: public List<AggregateFunctionType> getSupportedFunctionTypes(ColumnType columnType)
focal_class.identifier: getSupportedFunctionTypes
focal_class.modifiers: public
focal_class.parameters: (ColumnType columnType)
focal_class.return: List<AggregateFunctionType>
focal_class.signature: List<AggregateFunctionType> getSupportedFunctionTypes(ColumnType columnType)
focal_method.body: public void init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete) {
  
          this.groupFunction = groupFunction;
          this.targetType = targetType;
          this.metadata = metadata;
          this.functionsEnabled = functionsEnabled;
  
          columnDetailsEditor.init(metadata, this.groupFunction);
          view.setColumnSelectorTitle(columnTitle);
          view.setDeleteOptionEnabled(canDelete);
          initColumnListBox();
  
          if (functionsEnabled && (targetType == null || isColumnNumeric())) {
              view.setFunctionSelectorEnabled(true);
              initFunctionListBox();
          } else {
              view.setFunctionSelectorEnabled(false);
          }
      }
focal_method.class_method_signature: ColumnFunctionEditor.init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_method.full_signature: public void init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_method.identifier: init
focal_method.invocations: init setColumnSelectorTitle setDeleteOptionEnabled initColumnListBox isColumnNumeric setFunctionSelectorEnabled initFunctionListBox setFunctionSelectorEnabled
focal_method.modifiers: public
focal_method.parameters: (DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)
focal_method.return: void
focal_method.signature: void init(DataSetMetadata metadata,
                       GroupFunction groupFunction,
                       ColumnType targetType,
                       String columnTitle,
                       boolean functionsEnabled,
                       boolean canDelete)