public Prop addSet ( ) { Element set = appendChild ( root , "set" ) ; //$NON-NLS-1$ Element prop = appendChild ( set , "prop" ) ; //$NON-NLS-1$ try { return new Prop ( prop ) ; } catch ( MalformedElementException e ) { Assert . isTrue ( false , Policy . bind ( "assert.internalError" ) ) ; //$NON-NLS-1$ return null ; // Never reached. } }
Adds a set to the given propertyupdate and returns an editor on its prop .