/** * Sets the resource to use when creating a new bookmark. If not set, the new bookmark is created * on the workspace root. * * @param resource the resource */ @Override public void setResource(IResource resource) { // Method is overridden because API is being inherited from an internal class. super.setResource(resource); }