Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright 2012-2015 the original author or authors.
package org.assertj.swing.jide.grids.driver;
import  com.jidesoft.combobox.AbstractComboBox;

Understands an action that validates that the editor of a ListComboBox is accessible or not. To be accessible, a ListComboBox needs to be enabled and editable.

Note: Methods in this class are not executed in the event dispatch thread (EDT.) Clients are responsible for invoking them in the EDT.

Alex Ruiz
Yvonne Wang
See also:
  public static void validateEditorIsAccessible(AbstractComboBox comboBox) {
	if (!comboBox.isEditable()) {
	  throw new IllegalStateException(Strings.concat("Expecting component ",
		                                             " to be editable"));
New to GrepCode? Check out our FAQ X