Event e = new Event( ); e.text = txtDefinition.getText( ); e.data = txtDefinition.getText( ); e.widget = txtDefinition; e.type = 0; fireEvent( e );
	private void saveQuery( )	{		if ( isQueryModified )		{			if ( query != null )			{				query.setDefinition( txtDefinition.getText( ) );			}			else			{				query = QueryImpl.create( txtDefinition.getText( ) );				query.eAdapters( ).addAll( seriesdefinition.eAdapters( ) );			}			// Refresh color from ColorPalette			setColor( );			txtDefinition.getParent( ).layout( );			isQueryModified = false;			Event e = new Event( );			e.text = txtDefinition.getText( );			e.data = txtDefinition.getText( );			e.widget = txtDefinition;			e.type = 0;			fireEvent( e );		}	}