Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.workbench.screens.testscenario.client;
 
 
        extends AddFieldClickHandler {
    private final FixtureList definitionList;
                                   PackageDataModelOracle dmo,
                                   ScenarioParentWidget parent) {
        super(dmoparent);
        this. = definitionList;
    }
    @Override
    public void onSelection(SelectionEvent<StringstringSelectionEvent) {
        for (Fixture fixture : ) {
            if (fixture instanceof FactData) {
                ((FactDatafixture).getFieldData().add(
                        new FieldPlaceHolder(stringSelectionEvent.getSelectedItem()));
            }
        }
    }
        FactFieldSelector factFieldSelector = new FactFieldSelector();
        for (String fieldName : .getFieldCompletions(.getFirstFactData().getType())) {
            if (!.isFieldNameInUse(fieldName)) {
                factFieldSelector.addField(fieldName);
            }
        }
        return factFieldSelector;
    }
New to GrepCode? Check out our FAQ X