if ( query != null ) { query.setDefinition( txtDefinition.getText( ) ); } else { query = QueryImpl.create( txtDefinition.getText( ) ); }
isQueryModified = true;
	public void modifyText( ModifyEvent e )	{		if ( e.getSource( ).equals( txtDefinition ) )		{			if ( query != null )			{				query.setDefinition( txtDefinition.getText( ) );			}			else			{				query = QueryImpl.create( txtDefinition.getText( ) );			}			// Reset tooltip			txtDefinition.setToolTipText( txtDefinition.getText( ) );			// Refresh color from ColorPalette			setColor( );			txtDefinition.getParent( ).layout( );		}	}