/** * Returns true only if the current block has a selection. This method has no effect in FRAMESETs * at the moment. */ public boolean hasSelection() { final HtmlBlockPanel block = this.htmlBlockPanel; if (block == null) { return false; } else { return block.hasSelection(); } }