try { ( (TextItemHandle) getModel( ) ).setContent( (String) dialog .getResult( ) ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); }
	public void performDirectEdit( )	{		TextEditDialog dialog = new TextEditDialog( DLG_TITLE_TEXT,				( (TextItemHandle) getModel( ) ).getContent( ) );		dialog.setDesignElementHandle( (DesignElementHandle) getModel( ) );		if ( dialog.open( ) == Dialog.OK )		{			try			{				( (TextItemHandle) getModel( ) ).setContent( (String) dialog						.getResult( ) );			}			catch ( SemanticException e )			{				ExceptionHandler.handle( e );			}			refreshVisuals( );		}	}