protected void showActionSelector( Widget w, Integer position ) { RuleModellerActionSelectorPopup popup = new RuleModellerActionSelectorPopup( model, this, position, getSuggestionCompletions() ); popup.show(); }
private ListBox makeChoicesListBox() { choices = new ListBox( true ); choices.setPixelSize( getChoicesWidth(), getChoicesHeight() ); choices.addKeyUpHandler( new KeyUpHandler() { public void onKeyUp( com.google.gwt.event.dom.client.KeyUpEvent event ) { if ( event.getNativeKeyCode() == KeyCodes.KEY_ENTER ) { selectSomething(); } } } ); addDSLSentences(); if ( !bOnlyShowDSLConditions ) { addUpdateNotModify(); addGlobals(); addRetractions(); addModifies(); addInsertions(); addLogicalInsertions(); addGlobalCollections(); addFreeFormDRL(); } return choices; }