private boolean isPlaceholder(HSLFShape shape) { return shape instanceof SimpleShape && ((SimpleShape)shape).isPlaceholder(); }
private boolean isPlaceholder(HSLFShape shape) { return shape instanceof SimpleShape && ((SimpleShape)shape).isPlaceholder(); }
/** * Checks if the shape is a placeholder. * (placeholders aren't normal shapes, they are visible only in the Edit Master mode) * * * @return true if the shape is a placeholder * * @deprecated use {@link SimpleShape#isPlaceholder()} */ @Deprecated @Removal(version="4.1.0") public static boolean isPlaceholder(HSLFShape shape){ return shape instanceof SimpleShape && ((SimpleShape<?,?>)shape).isPlaceholder(); } }